Created
May 12, 2020 05:48
This file contains 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
configure | |
set interfaces ethernet eth1 address dhcp | |
set interfaces ethernet eth0 address 192.168.2.1/24 | |
set nat source rule 10 outbound-interface eth1 | |
set nat source rule 10 source address 192.168.2.0/24 | |
set nat source rule 10 translation address masquerade | |
commit | |
save | |
exit | |
reboot | |
show interfaces ethernet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment