Projecte

General

Perfil

Actions

Error #237

tancat

qmpcontrol offer_default_gw does not activate NAT masquerade on WAN.

Afegit per Simó Albert i Beltran fa casi 11 anys. Actualitzat fa més de 5 anys.

Estat:
Tancat
Prioritat:
Normal
Categoria:
BMX6 GW
Versió prevista:
-
Inici:
01-05-2013
Data de venciment:
% realitzat:

100%

Temps previst:
Temps invertit:

Descripció

NAT masquerade does not work on current master branch (aaba5ee6594fa013aaa6b9ad30258a008a8d5126) without gwck.

root@qMp5d:~# /etc/init.d/gwck stop
root@qMp5d:~# /etc/init.d/gwck disable
root@qMp5d:~# iptables -S -t nat-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-N captive-portal
-N postrouting_rule
-N prerouting_rule
-A PREROUTING -i br-lan -j captive-portal 
-A PREROUTING -j prerouting_rule 
-A POSTROUTING -j postrouting_rule 
-A POSTROUTING -s 172.16.0.0/12 ! -d 172.16.0.0/12 -j MASQUERADE 
-A POSTROUTING -s 192.168.0.0/16 ! -d 192.168.0.0/16 -j MASQUERADE 
-A captive-portal -d 192.168.0.0/16 -j RETURN 
-A captive-portal -d 172.16.0.0/12 -j RETURN 
-A captive-portal -d 10.0.0.0/8 -j RETURN 
-A captive-portal -d 172.30.22.1/32 -j RETURN 
-A captive-portal -p tcp -m tcp --dport 80 -j DNAT --to-destination 172.30.22.1:8888 
root@qMp5d:~# qmpcontrol offer_default_gw
executing function offer_default_gw
configuring /etc/config/bmx6
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
INFO  : --unicastHna             -
INFO  : --tunInNet                0.0.0.0/0                     
INFO  : --tunInNet                0.0.0.0/0                       /bandwidth               1000000                       
INFO  : --tunOut                 -
INFO  : --tunOut                 -
Loading defaults
Loading synflood protection
Adding custom chains
Loading zones
Loading forwardings
Loading rules
Loading redirects
Loading includes
Optimizing conntrack
Loading interfaces
root@qMp5d:~# iptables -S -t nat
-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-N postrouting_rule
-N prerouting_rule
-N prerouting_wan
-N zone_wan_nat
-N zone_wan_prerouting
-A PREROUTING -j prerouting_rule 
-A POSTROUTING -j postrouting_rule 
-A POSTROUTING -s 172.16.0.0/12 ! -d 172.16.0.0/12 -j MASQUERADE 
-A POSTROUTING -s 192.168.0.0/16 ! -d 192.168.0.0/16 -j MASQUERADE 
-A zone_wan_nat -j MASQUERADE 
-A zone_wan_prerouting -j prerouting_wan 
root@qMp5d:~# 

No any jump to zone_wan_nat chain.


Assumptes relacionats 1 (1 obert0 tancats)

bloqueja gwck - Característica #234: Adapt qMp configuration to use qMp module.ResoltSimó Albert i Beltran01-05-2013

Actions
Actions #1

Actualitzat per Simó Albert i Beltran fa casi 11 anys

  • Assignat a s'ha suprimit (Simó Albert i Beltran)

8d67b72da56ab0b47ff96a442605b289fad64015 fixes this issue in several hardware and interfaces. RouterStationPro and eth1 as WAN is not fixed yet.

Actions #2

Actualitzat per Simó Albert i Beltran fa casi 11 anys

  • Assignat a s'ha establert a Simó Albert i Beltran
Actions #3

Actualitzat per Simó Albert i Beltran fa casi 11 anys

  • Estat ha canviat de En progrés a Resolt
  • % realitzat ha canviat de 0 a 100

Aplicat en el conjunt de canvis ebaf2bb19ff76316eec1d871aa9073ae67c21827.

Actions #4

Actualitzat per Simó Albert i Beltran fa més de 10 anys

Aplicat en el conjunt de canvis ebaf2bb19ff76316eec1d871aa9073ae67c21827.

Actions #5

Actualitzat per Roger Pueyo Centelles fa més de 5 anys

  • Estat ha canviat de Resolt a Tancat
Actions

També disponible a: Atom PDF