Unable to forward port

discuss between artica users about howto use Artica.
This forum is not read by the Artica's developers.
Questions and answers are from the community..

Unable to forward port

New postby marceloudi » Sat Jan 24, 2015 3:58 am


I'm using Artica v.1.9 community edition.

I need to forward (dnat) an external port to an internal server.

I have 2 interfaces:

- eth0: internet link: Firewall active
- eth2: intranet: Firewall inactive

I just configured on eth0 an Forward rule, but it's not working. (image attached)

The rules created by Artica (at /bin/artica-firewall.sh) are:

/sbin/iptables -A FORWARD -i eth0 -p tcp --dport 3307 -m comment --comment "ArticaFireWall" -j ACCEPT || true
/sbin/iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 3307 -m comment --comment "ArticaFireWall" -j DNAT --to-destination || true
/sbin/iptables -A POSTROUTING -t -i eth0 -p tcp --dport 3307 -m comment --comment "ArticaFireWall" -j MASQUERADE || true

I receive the error: Bad argument `eth0', but I can not alter this created rules...

How can I forward an external port to an internal server??

I just stucked from 2 days!

Please help!
fw.png (243.04 KiB) Viewed 3257 times
Posts: 1
Joined: Sat Jan 24, 2015 3:45 am
Artica servers number: 1
Linux System: Debian
Technical skills: A Linux System Administrator

Return to Community tutorials

Who is online

Users browsing this forum: No registered users and 2 guests