I’m sorry, my English is not good
I want to connect the local computer to the Internet via vyos.
· Connection image
Could you see image01?
Vyos has the following settings.
set interfaces ethernet eth0 address 'x.x.x.x/23'
set interfaces ethernet eth0 duplex 'auto'
set interfaces ethernet eth0 smp-affinity 'auto'
set interfaces ethernet eth0 speed 'auto'
set interfaces ethernet eth1 address '10.0.2.7/24'
set interfaces ethernet eth1 duplex 'auto'
set interfaces ethernet eth1 smp-affinity 'auto'
set interfaces ethernet eth1 speed 'auto'
set interfaces loopback 'lo'
set nat source rule 10 outbound-interface 'eth0'
set nat source rule 10 source address '0.0.0.0/0'
set nat source rule 10 translation address 'masquerade'
set service ssh 'disable-password-authentication'
set service ssh port '2222'
set system config-management commit-revisions '100'
set system console device ttyS0 speed '9600'
set system gateway-address 'y.y.y.y'
set system host-name 'vyos'
set system name-server '220.127.116.11'
set system name-server '18.104.22.168'
set system ntp server '0.pool.ntp.org'
set system ntp server '1.pool.ntp.org'
set system ntp server '2.pool.ntp.org'
set system syslog global facility all level 'notice'
set system syslog global facility protocols level 'debug'
In describing, login user information has been deleted.
Currently, I can not connect from the PC to the Internet.
(Pinging to 22.214.171.124 will result in an error.)
What kind of configuration is not enough for vyos?
Since the image was not attached, I attached it.