[Firehol-support] Port forwarding

Costa Tsaousis costa at tsaousis.gr
Wed Sep 21 22:49:02 CEST 2005


Hi,

I agree, you need a router that will allow the requests to be routed from
the ppp interface to the eth interface, and of course the relative
server/route entries accepted.

You can add 'log' arguments to your statements to trace it down.

Costa

>
> 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 ]
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Firehol-support mailing list
> Firehol-support at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/firehol-support
>






More information about the Firehol-support mailing list