Created
December 22, 2022 08:03
-
-
Save siketyan/a5d02d4c5d4f9118412748903087a02c to your computer and use it in GitHub Desktop.
VyOS configuration for FLET'S network w/ a Transix tunnel and DHCPv6-PD client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interfaces { | |
ethernet eth0 { | |
hw-id [REDACTED] | |
} | |
ethernet eth1 { | |
dhcpv6-options { | |
duid 00:03:00:01:[REDACTED] | |
pd 0 { | |
interface eth2 { | |
address 1 | |
sla-id 0 | |
} | |
length 56 | |
} | |
} | |
hw-id [REDACTED] | |
ipv6 { | |
address { | |
autoconf | |
} | |
} | |
} | |
ethernet eth2 { | |
address 172.16.1.1/16 | |
description LAN | |
hw-id [REDACTED] | |
} | |
loopback lo { | |
} | |
tunnel tun0 { | |
address 192.0.0.2/30 | |
encapsulation ipip6 | |
remote 2404:8e00::feed:101 | |
source-address [REDACTED]::1 | |
source-interface eth1 | |
} | |
} | |
protocols { | |
static { | |
interface-route 0.0.0.0/0 { | |
next-hop-interface tun0 { | |
} | |
} | |
route6 ::/0 { | |
next-hop fe80::10ff:fe02:2062 { | |
interface eth1 | |
} | |
} | |
} | |
} | |
service { | |
dhcp-server { | |
shared-network-name v.s6n.jp { | |
authoritative | |
name-server 172.16.0.1 | |
subnet 172.16.0.0/16 { | |
default-router 172.16.1.1 | |
domain-name v.s6n.jp | |
domain-search v.s6n.jp | |
domain-search s6n.jp | |
name-server 172.16.1.1 | |
range 0 { | |
start 172.16.250.10 | |
stop 172.16.253.250 | |
} | |
} | |
} | |
} | |
dns { | |
forwarding { | |
allow-from 172.16.0.0/16 | |
listen-address 172.16.1.1 | |
system | |
} | |
} | |
router-advert { | |
interface eth2 { | |
prefix [REDACTED]::/64 { | |
} | |
} | |
} | |
ssh { | |
} | |
} | |
system { | |
config-management { | |
commit-revisions 100 | |
} | |
conntrack { | |
modules { | |
ftp | |
h323 | |
nfs | |
pptp | |
sip | |
sqlnet | |
tftp | |
} | |
} | |
console { | |
device ttyS0 { | |
speed 115200 | |
} | |
} | |
host-name vyos | |
login { | |
user vyos { | |
authentication { | |
encrypted-password **************** | |
plaintext-password **************** | |
} | |
} | |
} | |
name-server [REDACTED] | |
name-server [REDACTED] | |
name-server [REDACTED] | |
name-server [REDACTED] | |
ntp { | |
server time1.vyos.net { | |
} | |
server time2.vyos.net { | |
} | |
server time3.vyos.net { | |
} | |
} | |
syslog { | |
global { | |
facility all { | |
level info | |
} | |
facility protocols { | |
level debug | |
} | |
} | |
host 172.16.2.1 { | |
facility all { | |
level debug | |
} | |
} | |
} | |
time-zone Asia/Tokyo | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment