Author Topic: Problems getting to my GW Router  (Read 1595 times)

JPB

  • Zen Monk
  • **
  • Posts: 77
  • Karma: +1/-1
    • View Profile
Problems getting to my GW Router
« on: January 13, 2014, 01:51:40 pm »
I have been running zentyal since the start.
This time i seem to have boxed myself in my setup is like this


Internet -> DSL Modem [IP=192.168.3.1]  ->  Zentyal [192.168.3.254]
Code: [Select]
root@chaos:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1

iptables looks like this
Code: [Select]
:premodules - [0:0]
-A POSTROUTING ! -s 192.168.3.254/32 -o eth1 -j SNAT --to-source 192.168.3.254
...
-A fnospoof -s 192.168.3.0/24 ! -i eth1 -j fdrop
...
-A inospoof -s 192.168.3.0/24 ! -i eth1 -j idrop
My access is from the internal network on eth0 [192.168.70.1/24]
Something block my HTTP(s) access to the device however i can do pings to it.
Code: [Select]
root@chaos:~# ping 192.168.3.1
PING 192.168.3.1 (192.168.3.1) 56(84) bytes of data.
64 bytes from 192.168.3.1: icmp_req=1 ttl=64 time=0.695 ms

How can I change my config (hopefully via the Zentyal GUI) to connect to my GW modem/router on 192.168.3.1 to re-configure/get status?
Currently i need to add the IP range to my PC and plug it into the switch - which mean the internet is off for that time as the Zentyal is my main router device.
« Last Edit: January 13, 2014, 02:00:45 pm by JPB »

robb

  • Guest
Re: Problems getting to my GW Router
« Reply #1 on: January 13, 2014, 10:43:09 pm »
You did mark eth1 (your interface that is connected with your modem) as external? Since this is a MUST for Zentyal acting as a gateway.
Then for your internal LAN Zentyal will be the Gateway.

JPB

  • Zen Monk
  • **
  • Posts: 77
  • Karma: +1/-1
    • View Profile
Re: Problems getting to my GW Router
« Reply #2 on: January 14, 2014, 06:31:38 pm »
You did mark eth1 (your interface that is connected with your modem) as external? Since this is a MUST for Zentyal acting as a gateway.
Then for your internal LAN Zentyal will be the Gateway.
Funny 1, Indeed a funny question - If I did not then my default roue and postroute will not be like in my question, I also don't have issues getting to the Internet but only to get to the single device serving as my GW.