You are not logged in.

#1 2015-08-11 13:53:16

Moricio31
Member
Registered: 2015-08-11
Posts: 5

[Solved] NAT sharing problem

Hello,

I have a gateway with three interfaces; WAN (192.168.15.2), LAN (10.10.10.1) and WIFI (172.16.0.1).
Internet connection is ok on gateway (WAN is connected to CPE Wimax).
From clients (PC via LAN or Android via WIFI) I get IP delivered by the DHCP gateway.
I can ping 10.10.10.1, 172.16.0.1 and 192.168.15.2 from PC and Android but I can't access to Internet sad

# iptables -nvL
Chain INPUT (policy ACCEPT 38881 packets, 6541K bytes)
pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt     in     out        source               destination         
    0     0       ACCEPT     all  --    *        *           0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    0     0       ACCEPT     all  --    WIFI  WAN      0.0.0.0/0            0.0.0.0/0           
    0     0       ACCEPT     all  --    LAN   WAN      0.0.0.0/0            0.0.0.0/0           

Chain OUTPUT (policy ACCEPT 56973 packets, 29M bytes)
pkts bytes target     prot opt in     out     source               destination
# cat /proc/sys/net/ipv4/ip_forward
1

Someone have an idea of what I need check?

Thanks

Last edited by Moricio31 (2015-08-11 19:47:29)

Offline

#2 2015-08-11 15:37:27

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] NAT sharing problem


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2015-08-11 15:46:40

Moricio31
Member
Registered: 2015-08-11
Posts: 5

Re: [Solved] NAT sharing problem

I used this wiki to configure my share.
Thanks anyway

Offline

#4 2015-08-11 19:46:51

Moricio31
Member
Registered: 2015-08-11
Posts: 5

Re: [Solved] NAT sharing problem

You were right ROOKIE, I read too fast.
IPForward=ipv4 in [Network] section of /etc/systemd/network*.network

Offline

Board footer

Powered by FluxBB