Adding something like this to your config may work.

iptables -A INPUT -i eth0 -p udp --dport 49152 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 2253 -j ACCEPT
iptables -t nat -A PREROUTING -i eth0 -p udp --dport 49152 -j DNAT
--to-destination 192.168.0.50
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 2253 -j DNAT
--to-destination 192.168.0.50

-Jeff


On Fri, Oct 3, 2008 at 1:15 PM, Douglass Clem <[EMAIL PROTECTED]>wrote:

> I've got a box running Ubuntu server 8.04, acting as my network's NAT box.
> eth0 is the external interface, and eth1 (192.168.0.1/16) is the internal
> interface. I need to forward ports 2253/tcp and 49152/udp on the external
> interface to 192.168.0.50 on the internal network. I have been googleing
> and reading the iptables man page for the past 30 minutes, and yet iptables
> continues to thwart my best efforts. Can anyone help me discover the proper
> incantations to ge this to work? Thanks in advance.
>
> Douglass Clem
> crashsystems.net
> Public Key: http://crashsystems.net/pubkey.asc
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to