Linux Advocate wrote:
> Guys,
> 
> I have a basic shorewall setup ( two interface , eth0
> - internet(dynamic ip), eth1 - lan ( 192.168.0.x) )
> that is running fine. Internet browsing and Emailing
> is all ok from all the clients are ok.
> 
> i now want to do port forwarding whereby, i want
> anyone connecting to our firewall on port 85 to be
> forwarded to an internal machine with ip  192.168.0.5
> on port 85. 
> 
> i wrote this line in the /etc/shorewall/rules file (
> testing from outside ) and its not working.
> 
> # allow port forwarding to sohoserver - 192.168.0.5:85
> #from the net
> DNAT  net       loc:192.168.0.5:85  tcp  85
> 
> 
> Is the issue here becos i have a dynamic ip for my
> internet interface?

No. See Shorewall FAQs 1a and 1b for port forwarding troubleshooting tips.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to