|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
problem with firewall (nat.conf) on obsd
ok i am not a openbsd god but here is my setup
i am connected to a dhcp server via my cable company. from the modem is my router (openbsd) and that is connected to my two macs and freebsd. all packets are directed to obsd (192.168.1.1) and everything passes through the gateway fine and are translated to my ip. in my nat.conf i have rules like: rdr on rl1 proto tcp from any to (ip here) port 80 -> 192.168.1.3 port 80 (freebsd) rdr on rl1 proto tcp from any to (ip here) port 6700 -> 192.168.1.2 port 6700 *6700 is for carracho (kinda like ftp) all packets are going out through the gateway and are working fine but when you try to access my ip the packets are not being directed to their destinations. anyone know whats happening? thanks a lot kevin |
|
#2
|
|||
|
|||
|
>> in my nat.conf i have rules like
Your nat rule was missing. Put the following above all of your rdr rules: Code:
nat on rl0 from 192.168.1.0/24 to any -> rl0 Quote:
If you are referring to yourself (packets originating from your 192.168.1.0/24) then that's the way it is no matter what NAT software you are using. Start here to see the most asked question on IPF mailing list. >> anyone know whats happening? If that's not the case, TELL US YOUR IP else how do we blindly test it for you without knowing your IP? BTW, network cards (namely Dlink ones) that use vr or rl are not compatible with any *BSDs. Just exchange them or use them for Windows/Linux, not *BSDs. Because DLink makes the worst PCI network cards on earth. When you see Realtek chipset, don't use it. YOU ARE WARNED!. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > problem with firewall (nat.conf) on obsd |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|