PDA

Bekijk de volledige versie : Virtual Server not working... Port forward conflicts



vandyk
01-04-2008, 17:30
Hi all,

I've been using the ASUS WL-500gP with the Oleg's firmware for the last 4 months.

I updated the firmware to a new version, but now I'm not able to use the virtual server feature.

I noticed that I have some conflicts with port forwarding. For some reason I have 2 or 3 different IPs to same port.

I attached the print screens of my configuration.

And I have this nat_rules:

[admin@wl500gpmaster /tmp]$ cat nat_rules
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:VSERVER - [0:0]
-A PREROUTING -d 85.138.64.219 -j VSERVER
-A VSERVER -p udp -m udp --dport 26136 -j DNAT --to-destination 10.192.13.102:8128
-A VSERVER -p udp -m udp --dport 59190 -j DNAT --to-destination 10.192.13.176:12695
-A VSERVER -p udp -m udp --dport 55525 -j DNAT --to-destination 10.192.13.133:55525
-A VSERVER -p tcp -m tcp --dport 59900 -j DNAT --to-destination 10.192.13.133:59900
-A VSERVER -p udp -m udp --dport 59910 -j DNAT --to-destination 10.192.13.133:59910
-A VSERVER -p tcp -m tcp --dport 49228 -j DNAT --to-destination 10.192.13.154:49228
-A VSERVER -p udp -m udp --dport 52288 -j DNAT --to-destination 10.192.13.100:52288
-A VSERVER -p tcp -m tcp --dport 49269 -j DNAT --to-destination 10.192.13.154:49268
-A VSERVER -p tcp -m tcp --dport 49298 -j DNAT --to-destination 10.192.13.154:49298
-A VSERVER -p tcp -m tcp --dport 49297 -j DNAT --to-destination 10.192.13.154:49297
-A VSERVER -p tcp -m tcp --dport 49410 -j DNAT --to-destination 10.192.13.154:49410
-A VSERVER -p tcp -m tcp --dport 65316 -j DNAT --to-destination 10.192.13.102:9049
-A VSERVER -p tcp -m tcp --dport 49434 -j DNAT --to-destination 10.192.13.154:49434
-A VSERVER -p tcp -m tcp --dport 49636 -j DNAT --to-destination 10.192.13.154:49636
-A VSERVER -p tcp -m tcp --dport 49665 -j DNAT --to-destination 10.192.13.154:49665
-A VSERVER -p tcp -m tcp --dport 59900 -j DNAT --to-destination 10.192.13.100:59900
-A VSERVER -p udp -m udp --dport 59910 -j DNAT --to-destination 10.192.13.100:59910
-A VSERVER -p tcp -m tcp --dport 22 -j DNAT --to-destination 10.192.13.101:22
-A VSERVER -j DNAT --to 10.192.13.101
-A POSTROUTING -o vlan1 ! -s 85.138.64.219 -j MASQUERADE
-A POSTROUTING -o br0 -s 10.192.13.0/24 -d 10.192.13.0/24 -j MASQUERADE
COMMIT

Any clue about how can I "clean" the port forwarding?

Considering that the nat_rules file is created only when the ASUS starts up, where this info is stored?

Thanks in advance