全文検索:
- Vyatta - IPSec Brige / L2TP(IPSec)+Nat @05_network:04_vyatta
- = インターフェース設定 ====== ===== vyatta-A ===== <code> # set interfaces ethernet eth0 address 10.10.10.246/24 # set interfaces ethernet eth1 address 192.168.10.246/24 # set system gateway-address '10.10.10.1' # set system host-name 'vyatta-A' </code> ===== vyatta-B ===== <c
- Vyatta Backup/Reestore @05_network:04_vyatta
- vyatta-config-gen-sets.pl /config/backup.config set interfaces ethernet eth0 address '10.10.100.1/24' set interfaces ethernet eth0 duplex 'auto' set interfaces ethernet eth0 hw-id '52:54:00:2e:6e:99' set interfaces ethernet eth0 smp_affinity 'auto' se
- Vyatta Openvpn @05_network:04_vyatta
- === インターフェース設定 ====== ===== vyatta-A ===== <code> set system hostname router-A set interfaces ethernet eth0 address 10.10.10.246/24 set interfaces ethernet eth1 address 192.168.10.246/24 set service nat rule 10 outbound-interface eth0 set s
- Vyatta Cluster @05_network:04_vyatta
- |Global|Local| |172.20.1.252|10.1.1.252| <code> set cluster dead-interval '20000' set cluster group cluster1 auto-failback 'false' set cluster group cluster1 primary 'vyatta.primary' set cluster group cluster1 secondary 'vyatta.secondary
- Vyatta OpenVPN Server/Client @05_network:04_vyatta
- ta.key </code> ===== コマンド ===== <code console> # set interfaces openvpn vtun0 encryption 'aes128' # set interfaces openvpn vtun0 mode 'server' # set interfaces openvpn vtun0 openvpn-option '--tls-auth /etc/openvpn/ta.key 0' # set interfaces openvpn vtun0 protocol 'udp' # set int
- Vyatta - L2TP(IPSec) @05_network:04_vyatta
- +----+-----+ ===== コマンド ===== <code> set vpn ipsec ipsec-interfaces interface eth0 set vpn ipsec nat-networks allowed-network [ネットワークセグメント] set vpn ipsec nat-traversal enable set vpn l2tp remote-access authentication local-users username [ユーザ名] p
- Vyatta - Nat @05_network:04_vyatta
- .0/16からの接続はNatさせる場合 <code console> $ configure # set nat source rule 10 # set nat source rule 10 outbound-interface eth0 # set nat source rule 10 source address '192.168.0.0/16' # set nat source rule 10 translation address masquerade
- Vyatta - インストール @05_network:04_vyatta
- /code> ====== インターフェース設定 ====== <code console> # set interfaces ethernet eth0 address 10.10.100.1/24 # set interfaces ethernet eth1 address 192.168.100.246/... 24 </code> ====== システム設定 ====== <code console> # set system gateway-address 10.10.100.5 # set system name-server 8.8.8.8 # set system host-name vyatta02.ho
- Vyatta VRRP @05_network:04_vyatta
- 問題無く通信できる。 ===== switch1(vyatta-A) ===== <code> # set interfaces ethernet eth1 vrrp vrrp-group 99 # set interfaces ethernet eth1 vrrp virtual-address 192.168.5.1 # set interfaces ethernet eth1 vrrp preempt true # set interfaces ethernet eth1 vrrp priority 255 </code> =
- Vyatta PPTP @05_network:04_vyatta
- +----+-----+ ====== 設定 ====== <code console> # set vpn pptp remote-access outside-address 10.10.100.1 # set vpn pptp remote-access client-ip-pool start 192.168.1.201 # set vpn pptp remote-access client-ip-pool stop 192.168.1.220 # set vpn pptp remote-access dns-servers server-1 192.1
- Vyatta - DNS cache server @05_network:04_vyatta
- erver ====== これで、eth1側でlistenする。 <code console> set system name-server 8.8.8.8 set system name-server 8.8.4.4 set service dns forwarding system set service dns forwarding listen-on eth1 </code>
- Vyatta SSH key @05_network:04_vyatta
- ====== Vyatta SSH key ====== <code console> $ set config # set system login user vyatta authentication public-keys [Key Name] type ssh-rsa # set system login user vyatta authentication public-ke