Sunwalker
04-01-2008, 14:58
Hi,
usually, I could reach my modem behind the router by adding this to my post-firewall:
#!/bin/sh
ifconfig vlan1 192.168.0.1 netmask 255.255.255.0
iptables -t nat -I POSTROUTING -o vlan1 -d 192.168.0.0/24 -j SNAT --to-source 192.168.0.1
Router: 192.168.1.1
Modem: 192.168.0.5
But it isn't working anymore... I set everything to factory defaults and set up the post firewall again, but it doesn't work.
Does anyone know why?
usually, I could reach my modem behind the router by adding this to my post-firewall:
#!/bin/sh
ifconfig vlan1 192.168.0.1 netmask 255.255.255.0
iptables -t nat -I POSTROUTING -o vlan1 -d 192.168.0.0/24 -j SNAT --to-source 192.168.0.1
Router: 192.168.1.1
Modem: 192.168.0.5
But it isn't working anymore... I set everything to factory defaults and set up the post firewall again, but it doesn't work.
Does anyone know why?