Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vyos@DATACENTER:~$ sh configuration
- interfaces {
- ethernet eth0 {
- duplex auto
- smp_affinity auto
- speed auto
- }
- ethernet eth1 {
- duplex auto
- smp_affinity auto
- speed auto
- }
- ethernet eth2 {
- address LANIP/26
- duplex auto
- smp_affinity auto
- speed auto
- }
- ethernet eth3 {
- address 172.16.100.77/24
- duplex auto
- smp_affinity auto
- speed auto
- }
- tunnel tun0 {
- address 172.16.200.2/24
- encapsulation gre
- local-ip LANIP
- remote-ip WANIP
- }
- system {
- config-management {
- commit-revisions 20
- }
- console {
- }
- host-name DATACENTER
- login {
- user vyos {
- authentication {
- encrypted-password ****************
- }
- level admin
- }
- }
- ntp {
- server 172.16.100.1 {
- }
- }
- package {
- auto-sync 1
- repository community {
- components main
- distribution hydrogen
- password ****************
- url http://packages.vyos.net/vyos
- username ""
- }
- }
- syslog {
- global {
- facility all {
- level notice
- }
- facility protocols {
- level debug
- }
- }
- host 172.16.100.60 {
- facility all {
- level debug
- }
- }
- }
- }
- vpn {
- ipsec {
- esp-group foo {
- proposal 1 {
- }
- }
- ike-group foo {
- proposal 1 {
- }
- }
- ipsec-interfaces {
- interface eth2
- }
- site-to-site {
- peer WANIP {
- authentication {
- pre-shared-secret ****************
- }
- ike-group foo
- local-address LANIP
- tunnel 1 {
- esp-group foo
- local {
- prefix 172.16.100.0/24
- }
- remote {
- prefix 172.16.103.0/24
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement