學術及資源的交流園地 ^_^

Juniper CLI

最後更新: 2019-05-20

OS

ScreenOS

  • SSG Series
  • ISG Series
  • NetSreen Series

Junos

  • SRX

目錄

  • 進入 Shell
  • Dump All Settings
  • Show basic info
  • Set Time
  • Set Network
  • Show Command
  • Get NIC(Wan Port) Info
  • ...
  • NAT hairpinning

pinout

 

 

openvpn bridge network

 

Server

server.conf

# create by tim on 20130913

port 1194
proto udp
dev tap0

secret key.txt

script-security 3 system
up /etc/openvpn/up.sh

keepalive 3 60

comp-lzo no

persist-key
persist-tun

verb 4
log /var/log/openvpn/openvpn.log
status /var/log/openvpn/status

up.sh

#!/bin/sh
# create by tim
# the tap interface name is passed as first argument

# set it !!
bridge=brlan

ifconfig "$1" up

brctl addif "$bridge" "$1"

sleep 3

# Enable arp proxy
echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
echo 1 > /proc/sys/net/ipv4/conf/$bridge/proxy_arp

run.sh

davfs2

RSS feed