Hi,
I have a server at OVH with FreeBSD 8.1 installed. From the host internet works fine.
10.0.0.1: IP of the Jail
I have the following pf.conf:
pfctl -s nat says:
When I try to connect from inside the jail I get a timeout which means the packets are going out but the response seems not to be redirected back into the jail.
I activated ping in jails (sysctl for raw packets) but nothing works, neither the hostname nor the ip directly.
Does anybody have a hint for me what I can do?
I compared with other servers (not ovh) but couldn't find the mistake.
Hopefully somebody can help.
Thanks in advance,
Ben
I have a server at OVH with FreeBSD 8.1 installed. From the host internet works fine.
10.0.0.1: IP of the Jail
I have the following pf.conf:
Code:
nat on em0 proto {tcp udp icmp} from 10.0.0.1 to any -> $main_ip
pfctl -s nat says:
Code:
nat on em0 inet proto tcp from 10.0.0.1 to any -> xxx.xxx.xxx.xxx
nat on em0 inet proto udp from 10.0.0.1 to any -> xxx.xxx.xxx.xxx
nat on em0 inet proto icmp from 10.0.0.1 to any -> xxx.xxx.xxx.xxx
rdr on em0 inet proto tcp from any to 188.165.236.45 port = http -> 10.0.0.1
rdr on em0 inet proto tcp from any to xxx.xxx.xxx.xxx port = http -> 10.0.0.1
When I try to connect from inside the jail I get a timeout which means the packets are going out but the response seems not to be redirected back into the jail.
I activated ping in jails (sysctl for raw packets) but nothing works, neither the hostname nor the ip directly.
Does anybody have a hint for me what I can do?
I compared with other servers (not ovh) but couldn't find the mistake.
Hopefully somebody can help.
Thanks in advance,
Ben