I have a weird need covered by FAQ 1F (http://shorewall.net/FAQ.htm#faq1f)
using "ugly hack" mentioned there.

RULES: DNAT net loc:10.10.10.33:8888 tcp 8888
MASQ: eth1:10.10.10.33  eth0  10.10.10.11  tcp  8888
(eth0: Internet, eth1: local lan)

When the public port (8888) is the same as internal port (8888), WORKS fine.

I need to use different ports: 8888 external, 88 internal

I tried several combinations:
DNAT net loc:10.10.10.33:88 tcp 8888
eth1:10.10.10.33 eth0 10.10.10.11:8888 tcp 88
eth1:10.10.10.33 eth0 10.10.10.11:88 tcp 8888

none worked.

Any hints ?
Thanks
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to