bumbler
December 8th, 2004, 15:33
FreeBSD box uses external modem on /dev/cuaa0 to connect. Got a switch on fxp0, and the XP box is connected to that. I have enabled ppp -nat with the proper lines from the Handbook. Alright, I got the machines to communicate. Now I can't see to give the XP client permission to pass through my firewall. I simply copied the model firewall provided by the articles for Dialup Firewall in the system docs. Here's the rules:
00100 check-state
00200 deny ip from any to any in via tun0 not verrevpath
00300 allow ip from me to any out via tun0 keep-state
00400 deny tcp from any to any established in via tun0
00500 allow ip from any to any via fxp0
00600 allow ip from any to any via lo0
00700 deny ip from any to 127.0.0.0/8
00800 deny ip from 127.0.0.0/8 to any
00900 allow icmp from any to any icmptypes 0,3,8,11,12,13,14
01000 deny log ip from any to any
I still see my firewall blocking the IP of the XP box (192.168.1.2). That's supposed to be handled by rule 00500, right? On top of that, there are some confusing connection attempts from the XP which is seen by the firewall as having changed to the dynamic IP assigned by my ISP, and it blocks that. I have no problem surfing the Net from my machine, but I can't get traffic for the XP client.
Any ideas how I can adjust this to work?
Bumbler
00100 check-state
00200 deny ip from any to any in via tun0 not verrevpath
00300 allow ip from me to any out via tun0 keep-state
00400 deny tcp from any to any established in via tun0
00500 allow ip from any to any via fxp0
00600 allow ip from any to any via lo0
00700 deny ip from any to 127.0.0.0/8
00800 deny ip from 127.0.0.0/8 to any
00900 allow icmp from any to any icmptypes 0,3,8,11,12,13,14
01000 deny log ip from any to any
I still see my firewall blocking the IP of the XP box (192.168.1.2). That's supposed to be handled by rule 00500, right? On top of that, there are some confusing connection attempts from the XP which is seen by the firewall as having changed to the dynamic IP assigned by my ISP, and it blocks that. I have no problem surfing the Net from my machine, but I can't get traffic for the XP client.
Any ideas how I can adjust this to work?
Bumbler