Skip to content

Instantly share code, notes, and snippets.

@nyanloutre
Last active September 12, 2017 15:14
Show Gist options
  • Save nyanloutre/ab0f332217897f2a9bb31027b557b37c to your computer and use it in GitHub Desktop.
Save nyanloutre/ab0f332217897f2a9bb31027b557b37c to your computer and use it in GitHub Desktop.
interfaces {
ethernet eth0 {
address dhcp
description Internet
duplex auto
hw-id 00:19:21:3a:12:39
smp_affinity auto
speed auto
}
ethernet eth1 {
address 192.168.42.1/24
description Peasants
duplex auto
hw-id 00:04:75:85:8b:70
smp_affinity auto
speed auto
}
ethernet eth2 {
duplex auto
hw-id 00:04:ac:58:0b:35
smp_affinity auto
speed auto
}
loopback lo {
}
}
nat {
source {
rule 100 {
outbound-interface eth0
source {
address 192.168.42.0/24
}
translation {
address masquerade
}
}
}
}
service {
dhcp-server {
disabled false
shared-network-name Peasants {
authoritative enable
subnet 192.168.42.0/24 {
default-router 192.168.42.1
dns-server 192.168.42.1
lease 86400
start 192.168.42.128 {
stop 192.168.42.254
}
}
}
}
dns {
forwarding {
cache-size 0
listen-on eth1
name-server 8.8.8.8
name-server 8.8.4.4
}
}
ssh {
port 22
}
}
system {
config-management {
commit-revisions 20
}
console {
device ttyS0 {
speed 9600
}
}
host-name vyos
login {
user paul {
authentication {
encrypted-password $6$H.h1dafK$MlyA4YQHNuL1LcomW9O71mj1XSxV94C68FfIGPigjLp5sucIAd9oeyBupjK4NbaLfoQxbSXUGQ26f8T8FvsSn.
plaintext-password ""
public-keys openpgp:0xAB524BBC {
key AAAAB3NzaC1yc2EAAAADAQABAAACAF7VlzHzgg70uFbRFtVTS34qNBke/RD36mRENAsa33RxztxrqMsIDscAD/d6CTe6HDy7MCGzJnWCJSXj5iOQFM4RRMvKNEgCKPHqfhmfVvO4YZuMjNB0ufVf6zhJL4Hy43STf7NIWrenGemUP+OvVSwN/ujgl2KKw4KJZt25/h/7JjlCgsZm4lWg4xcjoiKL701W2fbEoU73XKdbRTgTvKoeK1CGxdAPFefFDFcv/mtJ7d+wIxw9xODcLcA66Bu94WGMdpyEAJc4nF8IOy4pW8AzllDi0qNEZGCQ5+94upnLz0knG1ue9qU2ScAkW1/5rIJTHCVtBnmbLNSAOBAstaGQJuSL40TWZ1oPA5i1qUEhunNcJ+Sgtp6XP69qY34T/AeJvHRyw5M5LfN0g+4ka9k06NPBhbpHFASz4M8nabQ0iM63++xcapnw/8gk+EPhYVKW86SsyTa9ur+tt6oDWEKNaOhgscX44LexY7jKdeBRt3GaObtBJtVLBRx3Z2aRXgjgnKGqS40mGRiSkqb2DShspI1l8DV2RrPiuwdBzXVQjWRc0KXmJrcgXX9uoPSxihxwaUQyvmITOV1Y+NEuek4gRkVNOxjoG7RGnaYvYzxEQVoI5TwZC2/DCrAUgCv8DQawkcpEiWnBq7Q5VnpmFx5juVQ/I0G8byOkPXgRUOk9
type ssh-rsa
}
}
level admin
}
user sli {
authentication {
encrypted-password $6$AGA580ya/zhDp6$.xi7.Ji2xqf7vM1/gMc8H9zyEf7paFnHgT3Oadw6xQ2.qTOm.iXi3xihnf5DCNmIk/cQI3BDDsCIOcy/CNs2p.
plaintext-password ""
}
level admin
}
}
ntp {
server 0.pool.ntp.org {
}
server 1.pool.ntp.org {
}
server 2.pool.ntp.org {
}
}
package {
auto-sync 1
repository community {
components main
distribution helium
password ""
url http://dev.packages.vyos.net/legacy/repos/vyos
username ""
}
repository squeeze {
components "main contrib non-free"
distribution squeeze
password ""
url http://archive.debian.org/debian
username ""
}
}
syslog {
global {
facility all {
level notice
}
facility protocols {
level debug
}
}
}
time-zone UTC
}
/* Warning: Do not remove the following line. */
/* === vyatta-config-version: "cluster@1:config-management@1:conntrack-sync@1:conntrack@1:cron@1:dhcp-relay@1:dhcp-server@4:firewall@5:ipsec@4:nat@4:qos@1:quagga@2:system@6:vrrp@1:wanloadbalance@3:webgui@1:webproxy@1:zone-policy@1" === */
/* Release version: VyOS 1.1.7 */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment