On 8/24/06, Serghei Amelian <[EMAIL PROTECTED]> wrote:
Am un server legat la doua linii de internet. Serverul face si NAT pentru
niste statii din LAN, unul din ISP-isti fiind default gateway. Problema
enervanta e ca daca incerc sa ma conectez din exterior la linia 2, pachetele
mi se intorc pe ip-ul liniei 1 (e si normal, ala fiind gateway-ul). Am
incercat sa fac forward cu ipfw dar se incapataneaza sa trimita reply-urile
pe linia 1.

Regulile sunt asa (pt ssh):

allow log tcp from any to xxx.xxx.xxx.38 dst-port 22 in via rl0
fwd xxx.xxx.xxx.37 log tcp from xxx.xxx.xxx.38 22 to any

xxx.xxx.xxx.37 fiind gateway-ul pentru ip-ul xxx.xxx.xxx.38

Totusi in loguri am ceva ciudat:

100 Accept TCP 86.34.182.xxx:52662 xxx.xxx.xxx.38:22 in via rl0
200 Forward to xxx.xxx.xxx.37 TCP xxx.xxx.xxx.38:22 86.34.182.xxx:52662 out
via tun0

Nu am inteles de ce la regula 200 apare "out via tun0" (tun0 fiind isp1, rl0
fiind isp2).

Ceva idei?

  route get xxx.xxx.xxx.37 ce zice ?


--
Serghei Amelian.

________________________________________________________
To unsubscribe send a mail to [EMAIL PROTECTED]




--
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.

________________________________________________________
To unsubscribe send a mail to [EMAIL PROTECTED]

Raspunde prin e-mail lui