LUGRo-Mesh Forum (espaņol/english)
March 29, 2024, 07:55:18 am
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 4576 times)
0 Members and 2 Guests are viewing this topic.
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
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #31 on: July 02, 2009, 11:03:58 am »

Ok. This is the problem.
Your ID is too long.

You dont have WiFiDog_[ID]_AuthServers chain because is too long. (> 27 characters)

can not use the mac address as NODE_ID

Saludos.-
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #32 on: July 02, 2009, 12:51:13 pm »

Ok. This is the problem.
Your ID is too long.

You dont have WiFiDog_[ID]_AuthServers chain because is too long. (> 27 characters)

can not use the mac address as NODE_ID

Saludos.-

Is it possible to change WiFiDog_[ID]_AuthServers by WiFiDog_[ID]_AuthSvrs ?

We works on the next version of Wifidog and this version will integrate OpenVPN client on firmware and use mac address without :

This version will be available soon

Anyway, if you want to upgrade your portal captive wifidog and use OpenVPN, you will have the same problem of me

Thanks

Helene Gauthier
Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #33 on: July 02, 2009, 01:37:30 pm »

Is it possible to change WiFiDog_[ID]_AuthServers by WiFiDog_[ID]_AuthSvrs ?

Frankly I do not know. I suppose that if you can. We have not touched the client code Wifidog.
Maybe you could ask developers of Wifidog.


Quote
We works on the next version of Wifidog and this version will integrate OpenVPN client on firmware and use mac address without :
This version will be available soon
Anyway, if you want to upgrade your portal captive wifidog and use OpenVPN, you will have the same problem of me

We did not know that.
Similarly, i do not think correct this way.
Saludos.-
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #34 on: July 02, 2009, 02:51:32 pm »

Is it possible to change WiFiDog_[ID]_AuthServers by WiFiDog_[ID]_AuthSvrs ?

Frankly I do not know. I suppose that if you can. We have not touched the client code Wifidog.
Maybe you could ask developers of Wifidog.


Quote
We works on the next version of Wifidog and this version will integrate OpenVPN client on firmware and use mac address without :
This version will be available soon
Anyway, if you want to upgrade your portal captive wifidog and use OpenVPN, you will have the same problem of me

We did not know that.
Similarly, i do not think correct this way.
Saludos.-

OK, I tested it and it is better to keep your original code

After verification with ZAP Aherbrooke, the node_id that you used is correct for OpenVPN

Helene Gauthier
« Last Edit: July 04, 2009, 05:50:44 am by PCDOM » 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