I have a similar problem getting the internet through my FreeBSD server and into my network. My setup is as follows starting from the internet on top and ending with the network at the bottom. I hope this is clear.
Internet
|
2Wire DSL modem in DMZ mode so it lets public IP pass unchanged, unfw'd
|
Ext_if=69.208.86.101
Linksys Router
Int_if=192.168.2.1
|
Ext_if=192.168.2.100
FBSD Gateway
Int_if=192.168.75.150
|
Network 192.168.75.
The problems I'm having are:
1) No internet access from the network 192.168.75. The gateway has access to the internet
2) I cannot ping linksys router (Int_if or Ext_if) from the network, even though I can ping both interfaces on the gateway. From linksys router I can also ping both interfaces on the gateway, but nothing on the network 192.168.75.
PF firewall is running on the gateway, but with pf.conf all commented out to get the firewall out of the way.
My rc.conf is as follows:
And my netstat -rn is as follows:
I hope someone can point me in the right direction.
Internet
|
2Wire DSL modem in DMZ mode so it lets public IP pass unchanged, unfw'd
|
Ext_if=69.208.86.101
Linksys Router
Int_if=192.168.2.1
|
Ext_if=192.168.2.100
FBSD Gateway
Int_if=192.168.75.150
|
Network 192.168.75.
The problems I'm having are:
1) No internet access from the network 192.168.75. The gateway has access to the internet
2) I cannot ping linksys router (Int_if or Ext_if) from the network, even though I can ping both interfaces on the gateway. From linksys router I can also ping both interfaces on the gateway, but nothing on the network 192.168.75.
PF firewall is running on the gateway, but with pf.conf all commented out to get the firewall out of the way.
My rc.conf is as follows:
Code:
pf_enable="YES"
pflog_enable="YES"
gateway_enable="YES"
# -- sysinstall generated deltas -- # Tue Apr 28 12:35:45 2009
ifconfig_rl0="inet 192.168.2.100 netmask 255.255.255.0"
ifconfig_rl1="inet 192.168.75.150 netmask 255.255.255.0"
defaultrouter="192.168.2.1"
hostname="linux.beltrandelrio.net"
And my netstat -rn is as follows:
Code:
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.2.1 UGS 0 2345 rl0
127.0.0.1 127.0.0.1 UH 0 4 lo0
192.168.2.0/24 link#1 UC 0 0 rl0
192.168.2.101 00:03:25:22:7c:44 UHLW 1 38 rl0 1030
192.168.2.102 00:1c:bf:05:3a:2c UHLW 1 6 rl0 1017
192.168.75.0/24 link#4 UC 0 0 rl1
192.168.75.101 00:19:d1:22:95:e6 UHLW 1 20 rl1 1077
192.168.75.102 00:03:ff:29:f8:49 UHLW 1 0 rl1 1150
192.168.75.122 00:03:25:4e:21:1c UHLW 1 0 rl1 280
192.168.75.124 00:19:d1:0b:e9:7c UHLW 1 1 rl1 771
192.168.75.255 ff:ff:ff:ff:ff:ff UHLWb 1 172 rl1
Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UHL lo0
fe80::%lo0/64 fe80::1%lo0 U lo0
fe80::1%lo0 link#7 UHL lo0
ff01:7::/32 fe80::1%lo0 UC lo0
ff02::%lo0/32 fe80::1%lo0 UC lo0
I hope someone can point me in the right direction.