Re: iptables default
Glenn Hocking wrote:
Is there a default rule table somewhere? Or do I need to just execute
the commands from a script on startup?
iptables -t nat -A PREROUTING -p tcp --dport 1494 -j DNAT
--to-destination 10.0.2.110
iptables -t nat -A PREROUTING -p udp --dport 1604 -j DNAT
--to-destination 10.0.2.110
The "ipmasq" package seems to do a pretty fair job of it.
Copy one of the rule files that live in /etc/ipmasq/rules to just the
right place -- I85application.rul appears to work -- and stick your port
forwarding rules in there.
Let's see... I'd attach mine if I knew the list rules would let me.
--
Asher Densmore-Lynn <jesdynf@almostcosmic.com>
Reply to: