Sorry if this has been aswered. I did some searching and could not find an answer.
Scenario.
- ClearOS-Gateway & Server -
enp1s0 - Wan
enp2s5 - HotLan - 10.0.0.1 - DHCP Server
enp3s0 - Lan - 192.168.1.1 - DHCP Server
Lan has full access to everything on all networks and works just fine.
I am after Hotlan (enp2s5) to have access to 10.0.0.1 port 80,
Keeping WAN (enp1s0) access to port 80 Blocked.
Any help would be greatly appreciated.
Scenario.
- ClearOS-Gateway & Server -
enp1s0 - Wan
enp2s5 - HotLan - 10.0.0.1 - DHCP Server
enp3s0 - Lan - 192.168.1.1 - DHCP Server
Lan has full access to everything on all networks and works just fine.
I am after Hotlan (enp2s5) to have access to 10.0.0.1 port 80,
Keeping WAN (enp1s0) access to port 80 Blocked.
Any help would be greatly appreciated.
In Multiwan
Share this post:
Accepted Answer
As a new poster, your first couple of posts get moderated so don't appear immediately.
As you have discovered the HotLAN is isolated from the server. Please install the Custom Firewall module then try this rule from the command line:
If this is a new installation I, strongly suggest you change your LAN subnet from the default 192.168.1.0/24 and also avoid 192.198.0.0/24.
As you have discovered the HotLAN is isolated from the server. Please install the Custom Firewall module then try this rule from the command line:
iptables -I INPUT -i enp2s5 -p tcp --dport 80 -j ACCEPT
If it does what you expect, copy and paste it into the custom firewall module changing "iptables" to "$IPTABLES"If this is a new installation I, strongly suggest you change your LAN subnet from the default 192.168.1.0/24 and also avoid 192.198.0.0/24.

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »