Hi,
Here is my network:
Internet----- BOX (192.168.1.1/24) ----- (.40 ; fxp0) SERVER (192.168.50.1/24; lo1)
There is a jail with the 192.168.50.1 ip.
I can't dig google.com. The paquets from the jail are natted but the answer isn't redirected to it, because dig tells me "timeout".
Here is my pf.conf
I also noticed that ICMP paquets have no problem, I can ping a server on the Internet.
Plus, why is there nothing displayed when listening on lo1, diging google.fr for example ?
Thank you, G0llum.
Here is my network:
Internet----- BOX (192.168.1.1/24) ----- (.40 ; fxp0) SERVER (192.168.50.1/24; lo1)
There is a jail with the 192.168.50.1 ip.
I can't dig google.com. The paquets from the jail are natted but the answer isn't redirected to it, because dig tells me "timeout".
Code:
# tcpdump -i fxp0 port 53
09:52:23.760845 IP 192.168.1.40.50956 > google-public-dns-a.google.com.domain: 11540+ A? google.fr. (27)
09:52:23.804847 IP google-public-dns-a.google.com.domain > 192.168.1.40.50956: 11540 3/0/0 A 74.125.230.88, A 74.125.230.87, A 74.125.230.95 (75)
Here is my pf.conf
Code:
nat on fxp0 from lo1:network to any -> (fxp0)
pass log all keep state
I also noticed that ICMP paquets have no problem, I can ping a server on the Internet.
Plus, why is there nothing displayed when listening on lo1, diging google.fr for example ?
Thank you, G0llum.