[Firehol-support] Port forwarding

Goetz Bock bock at blacknet.de
Sat Sep 17 11:38:57 BST 2005


On Fri, Sep 16 '05 at 20:14, Jean de Largentaye wrote:
> the config file includes the necessary:
> dnat to $ipPC1:21 inface ppp0 proto tcp dport 13337
> dnat to $ipPC1:10100-10499 inface ppp0 proto tcp dport 10100:10499
To the best of my knowledge you must also add a route from ppp0 to the
PC

something like

router dnat in ppp0 dst $ipPC1
    router  ftp                                     accept
    router  custom unknown tcp/10100:10499 default  accept

The custom service syntax for sure is wrong. And you might also whant to
add a dnat rule for port 20.
-- 
/"\ Goetz Bock at blacknet dot de  --  secure mobile Linux everNETting
\ /       (c) 2005 Creative Commons, Attribution-ShareAlike 2.0 de
 X   [ 1. Use descriptive subjects - 2. Edit a reply for brevity -  ]
/ \  [ 3. Reply to the list - 4. Read the archive *before* you post ]




More information about the Firehol-support mailing list