LUGRo-Mesh Forum (espaņol/english)
August 19, 2022, 06:48:31 pm
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free
 
  Home   Forum   Help Search Gallery Staff List Login Register  

OpenWRT

Pages: 1 2 [3]  All   Go Down
  Print  
Author Topic: OpenWRT  (Read 4297 times)
PCDOM
Full Member
***
Posts: 105


« Reply #30 on: July 02, 2009, 10:53:01 am »

So, is it possible that change affect other variables ?

Please check if you have this line in router:

REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:80 redir ports 2060

For this, run:
iptables -L -t nat


this is the result



root@zap:~# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
REDIRECT   tcp  --  169.254.0.0/16       anywhere            tcp dpt:53 redir ports 53
REDIRECT   udp  --  169.254.0.0/16       anywhere            udp dpt:53 redir ports 53
REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:53 redir ports 53
REDIRECT   udp  --  anywhere             anywhere            udp dpt:53 redir ports 53
WiFiDog_00156DAA5F87_Outgoing  all  --  anywhere             anywhere           

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
SNAT       all  --  anywhere             anywhere            to:192.168.1.170

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain WiFiDog_00156DAA5F87_Global (1 references)
target     prot opt source               destination

Chain WiFiDog_00156DAA5F87_Outgoing (1 references)
target     prot opt source               destination

Chain WiFiDog_00156DAA5F87_Unknown (0 references)
target     prot opt source               destination
WiFiDog_00156DAA5F87_Global  all  --  anywhere             anywhere
REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:80 redir ports 2060
root@zap:~#
Report Spam   Logged
Pages: 1 2 [3]  All   Go Up
  Print  
 
Jump to:  

Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum
Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy