Created
November 30, 2020 02:51
-
-
Save kbruner/821348683827777af92fe620b0214660 to your computer and use it in GitHub Desktop.
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
root@nucklehead:~ # for i in 0 1 2; do | |
ipfw add 25${i} fwd 10.10.0.2${i} ip from any to 10.100.${i}.0/24 keep-state | |
done | |
00250 fwd 10.10.0.20 ip from any to 10.100.0.0/24 keep-state :default | |
00251 fwd 10.10.0.21 ip from any to 10.100.1.0/24 keep-state :default | |
00252 fwd 10.10.0.22 ip from any to 10.100.2.0/24 keep-state :default | |
root@nucklehead:~ # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment