Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2000 15:49:15 -0600 (CST)
From:      "Victor M. Carranza G." <victor@concyt.gob.gt>
To:        questions@freebsd.org
Subject:   ipnat + two-way services ???
Message-ID:  <Pine.BSF.4.05.10008291528120.6575-100000@ns.concyt.gob.gt>

next in thread | raw e-mail | index | archive | help
Hello!
I am trying to configure a 4.0-RELEASE box to be a gateway for a private
network. My ISP gave me only 2 IP addresses, one is for the router's
ethernet port and the other is for the gateway machine.
I have only one network card in the FreeBSD box, and I have assigned both
private and public IP addresses to it.
I've put socks and squid, as well as ipnat maps. Web surfing, ftp, telnet,
etc. seems to work well, but I have trouble with two-way services like
dialpad.com, Yahoo! Instant Messenger (Java applet version) and some other
services which use a java applet to communicate with the outside world.

My current ipnat.conf looks like:

rdr xl0 xx.xx.xx.xx/32 port 51200 -> 192.168.0.3 port 51200 udp
rdr xl0 xx.xx.xx.xx/32 port 51201 -> 192.168.0.3 port 51201 udp
rdr xl0 xx.xx.xx.xx/32 port 51210 -> 192.168.0.3 port 51210
rdr xl0 xx.xx.xx.xx/32 port 7175 -> 192.168.0.3 port 7175
map xl0 192.168.0.0/24 -> xx.xx.xx.xx/32 portmap tcp/udp 1025:65000
map xl0 192.168.0.2/24 -> xx.xx.xx.xx/32
bimap xl0 192.168.0.1/32 -> 192.168.0.1/32


(the rdr stuff is for dialpad.com, but does not work at all. The
xx.xx.xx.xx is the public IP address).

Any help would be greatly appreciated.

Best regards,

Victor Carranza




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10008291528120.6575-100000>