We are using OpenBSD 3.8 as a firewall/router. We have two internal
nets; one with workstations (NAT) and one DMZ with a single server.
And thus we have three network interfaces installed in the router: one
for the NAT, one for the DMZ and one for the external net.
Our ISP has given us a range of IP adresses (the ones below are
Segment: 126.96.36.199 /28
net address: 188.8.131.52
gateway adress: 184.108.40.206
fria fasta ip: 220.127.116.11-126
broadcast address: 18.104.22.168
I have set up the DMZ with
net adress 22.214.171.124
To ensure that routing worked properly I just entered pass (and nat of course) in the /etc/pf.conf file.
I have no trouble connecting to the server at 126.96.36.199 from the
internal net where nat-addresses are used, but for some reason
I cant connect to the server from the outside. I thought it was a
routing problem but when I entered a port redirect from the gateway
(188.8.131.52) to the server at 184.108.40.206 for the ssh port I reached the server. I haven't got a
clue whats wrong. Can anybody help to explain this or have an idea of a workaround (I dont want the port
redirect)? Thanks in advance.