/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */

Hi all,

I'm using the 0.63 version of the simple rc.firewall on a 
firewall/gateway which holds a NATed network connected to the internet 
through 1 real ipadress.

On of the machines on the NAT has the Remote 
administrator(http://www.radmin.com/products/)  server installed on it. 
I would like to be able to connect to this from the outside through the 
firewall.

I added this rules but it doesnt seem to work:
$IPTABLES -A FORWARD -i $EXTIF -p tcp -d 213.212.20.72 -o $INTIF --dport 
4899 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -A FORWARD -i $EXTIF -p tcp -d 192.168.0.50 -o $INTIF --dport 
4899 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -t nat -A PREROUTING -d 213.212.20.72 -p tcp --dport 4899 -j 
DNAT --to 192.168.0.50:4899


Any hints would be appreciated.

Best regards,
        Eric

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to