NATd

Sidnei Rodrigo Basei basei at matrix.com.br
Wed Feb 18 17:06:00 PST 2004


Hi... I am solved the BIND problem... ( I was very much idiot :-P )

well... my question is:

I have only one Network Adapter (xl0)

this interface have the 192.168.201.1 address and one alias: 10.4.1.1....
when I start the mpd daemon, the ng0 interface is created.... then, i want configure my server to
my VPN users can acess the internet ...


My little network is: (text format)

      internet
     ----------
         |(DHCP)
+------------------+ NAT: PUBLIC_PORT 1723 -> PRIVATE_PORT 1723
|  3COM 812 O.C.   |                      ADDRESS 192.168.201.1
+------------------+
         | 192.168.201.254
         | Alias: 10.4.1.254
         |
         |
         +--------------------------+
      vr0| 192.168.201.1            |
         | 10.4.1.1(Alias)          |
+------------------+                |
| FreeBSD 4.9 (mpd)|             --------
+------------------+             intranet
                                (10.4.1.0)


I want with my friends can access the WEB, ICQ, and access my private network when they are logged
in the VPN....

Anyone can help me what i can configure my nat and my ipfw to forward this packages and make this
route? (all network traffic is via VR0 (phisical interface))


[]'s
Sidnei Rodrigo Basei
basei at matrix.com.br
Florianópolis(SC) - Brasil
...






More information about the freebsd-stable mailing list