Welcome to the Sophos User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
Join Date: Jun 2009
Location: Stuttgart, Germany
Posts: 40
#1 (permalink)  
Old 07-02-2012, 02:12 PM
Question Rule 60002 blocking port 8080

Hi All,

I've been fighting with a DNAT problem for the last week and need some assistance.

I am trying to setup access to my home web server using DNAT and can't seem to get it to work. Using the manual to configure DNAT is also not very helpful.

To start here is some information on what I have done so far:

DSL Router setup:
Speedport W723V
Port Rule Activated: checked
Description: WebServerName
Type Rule: WebServer
Good for Device: WebServerName
Forwarded Ports/Port Range
TCP-Ports: 8080
Astaro v8.305 Home Setup
Position: 1
Traffic Source: Internet
Traffic Service: HTTP
Traffic Destination: ExternalInterface
Destination: WebServer IP
Destination Service: [blank]
Log inital packets: checked
Automatic Firewall rule: checked
ERROR Message when I try to connect to the webserver from outside my home network
2012:07:02-14:29:39 ******** ulogd[4646]: id="2001" severity="info" sys="SecureNet" sub="packetfilter" name="Packet dropped" action="drop" fwrule="60002" initf="eth1" outitf="eth0" srcmac="" dstmac="" srcip="ip_Internal_WebSrv" dstip="ip_Remote_host" proto="6" length="48" tos="0x00" prec="0x00" ttl="63" srcport="8080" dstport="19995" tcpflags="ACK SYN"
Port forwarding on the DSL Router works for WebAdmin on port=4444. There is a general rule for http from my home network into the internet.

Searching the portal also doesn't give any solutions that have been verified. Doing a google search returned the following DNAT rulesets:
iptables -t nat -A PREROUTING -i eth0 --dst $INET_IP -p tcp --dport 80 -j DNAT --to-destination $HTTP_IP

iptables -t nat -A POSTROUTING -p tcp --dst $HTTP_IP --dport 80 -j SNAT --to-source $LAN_IP

iptables -t nat -A OUTPUT --dst $INET_IP -p tcp --dport 80 -j DNAT --to-destination $HTTP_IP
I haven't implemented the above rulesets yet, because I wanted to check in the forum before I start mucking around with the command line. In the meantime, I am trying to implement the above rules through the webadmin interface.

Thanks in advance for your help.


Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT. The time now is 05:42 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.