>
> On Tue, 25 Sep 2001 11:08:26 +0300 (EEST)
> Patrascu Eugeniu <[EMAIL PROTECTED]> wrote:
>
> > pai cu iptables poti sa bagi o regula de genul:
> > iptables -t nat -A PREROUTING -p TCP -d ip_tau_public 5900 -j DNAT
> --to
> > ip_goaza
>
> Am facut asa:
>
> iptables --table nat --append PREROUTING --protocol tcp --source
> MY.MY.MY.MY --destination THEIRS.THEIRS.THEIRS.THEIRS --sport 5800
> --dport 5800 --jump DNAT --to 192.168.1.101

incearca doar cu --dport ... --sport nu e bine pt. ca nu stii de pe ce
port sursa se initiaza conexiunea.


>
> + una la fel pentru portul 5900
>
> MY.MY.MY.MY este IP-ul meu public
> THEIRS.THEIRS.THEIRS.THEIRS este IP-ul public al serverului lor.
>
> E bine asa?  Ca nu merge :~-(



>
>
>


-----------------
Patrascu Eugeniu
linux registered user #228615

Nothing is faster than the speed of light ...
To prove this to yourself, try opening the refrigerator door before the
light comes on.


---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui