[nos-bbs] Not Sure if my IPtables forwarding RIP is working
maiko at pcsinternet.ca
maiko at pcsinternet.ca
Sun Dec 18 22:44:37 EST 2022
I did forgot to mention the 'outgoing' rule, so anything my JNOS needs
to
access in the non 44 world is masqueraded as IP address of my linux box
:
(or something like that)
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -i eth0 -p 4 -j DNAT --to-destination
19.168.200.201
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Maiko / VE4KLM
More information about the nos-bbs
mailing list