[luau] Port Forwarding 2.4 kernel (RH 7.3)

MonMotha monmotha at indy.rr.com
Sun Sep 1 18:08:00 PDT 2002


MonMotha wrote:
> Unfortunately, 2.4 can't use ipmasqadm, and ipchains can't do port 
> forwards on it's own, so you'll have to use iptables for this.  Of 
> course this means converting whatever rulesets you might have (which may 
> be a problem).
> 
> However, iptables is pretty flexible.  To forward a port:
> iptables -t nat -A PREROUTING -p tcp -s $ExtHostIP --dport 25 --to 
> 192.168.0.5:25
> 
> Make sure you allow it on the forward table.
> 
> --MonMotha

D'oh! Forgot the -j DNAT:


iptables -t nat -A PREROUTING -p tcp -s $ExtHostIP --dport 25 -j DNAT 
--to 192.168.0.5:25

--MonMotha




More information about the LUAU mailing list