Been playing with the 837, and have pretty much got it doing nearly all i need it to do. The only thing that's bothering me is the firewall. My current config is (router ip is 192.168.0.1, interal network is 192.168.0.0/255.255.255.0):
I'm guessing that INTERNET-IN won't start to affect what's going on until I add it to the dialer? Currently I don't think there's an access list on the dialer. If I add what's above, it starts to do weird things, and the internet breaks, so I essentially need to start from scratch. I'm forwarding ports 80 and 443 to 192.168.0.2, and I whilst 443 is forwarding fine, port 80 doesn't seem to be.
So, any general tips and guidelines on how to put together a good set of firewall rules, and also solve my none-forwarding port 80 problem?
Thanks
Code:
ip nat inside source list 102 interface Dialer1 overload
ip nat inside source static tcp 192.168.0.2 80 interface Dialer1 80
ip nat inside source static tcp 192.168.0.2 443 interface Dialer1 443
!
!
ip access-list extended INTERNET-IN
permit tcp any host 192.168.0.2 eq www
permit tcp any host 192.168.0.2 eq 443
deny ip any any log
deny ip 192.0.0.0 0.0.0.15 any log
deny ip 0.0.0.0 0.255.255.255 any log
deny ip 10.0.0.0 0.255.255.255 any log
deny ip 192.168.0.0 0.0.255.255 any log
deny ip 172.16.0.0 0.15.255.255 any log
deny ip 169.254.0.0 0.0.255.255 any log
deny tcp any range 0 65535 any range 0 65535 log
deny udp any range 0 65535 any range 0 65535 log
access-list 102 permit ip 192.168.0.0 0.0.0.255 any
dialer-list 1 protocol ip permit
I'm guessing that INTERNET-IN won't start to affect what's going on until I add it to the dialer? Currently I don't think there's an access list on the dialer. If I add what's above, it starts to do weird things, and the internet breaks, so I essentially need to start from scratch. I'm forwarding ports 80 and 443 to 192.168.0.2, and I whilst 443 is forwarding fine, port 80 doesn't seem to be.
So, any general tips and guidelines on how to put together a good set of firewall rules, and also solve my none-forwarding port 80 problem?
Thanks
