Hello guys,
I'm new to BSD. I installed FreeBSD 8.0-RELEASE machine which is my gateway/router using ipfilter. The standard set up. My problem is that I can not access my website to .21 from my private network, but everywhere else.
Some facts:
I can ping, ssh to the server(.21), but I can't telnet which is allow from my firewall.
netstat -nr from the gateway
Routing tables
cat /etc/ipnat.conf
Any ideas are much appreciated. Thank you very much.
I'm new to BSD. I installed FreeBSD 8.0-RELEASE machine which is my gateway/router using ipfilter. The standard set up. My problem is that I can not access my website to .21 from my private network, but everywhere else.
Code:
internet
|
BSD gateway ipfilter
| DHCP from ISP
switch (192.168.0.1/24)
|
web server (192.168.0.21)
|
laptop (192.168.0.22)
I can ping, ssh to the server(.21), but I can't telnet which is allow from my firewall.
netstat -nr from the gateway
Routing tables
Code:
Internet:
Destination Gateway Flags Refs Use Netif Expire
default public_ip UGS 0 5213579 dc0
public_ip/21 link#1 U 0 0 dc0
public_ip link#1 UHS 0 0 lo0
127.0.0.1 link#4 UH 0 1746 lo0
192.168.5.0/24 link#2 U 1 5857891 dc1
192.168.5.1 link#2 UHS 0 0 lo0
cat /etc/ipnat.conf
Code:
map dc0 192.168.5.0/24 -> public_ip
rdr dc0 public_ip port 80 -> 192.168.5.21 port 80
Any ideas are much appreciated. Thank you very much.