Port forwarding / rule creating iptables not working in GUI
I've noticed that I couldn't create any FW rule or NAT rule in the GUI of LinuxmMCE.
When I do this directly in CLI, it's been inserted..
insert command:
iptables -t nat -A PREROUTING -p tcp --dport 10208 -j DNAT --to 192.168.111.208:80
iptables -A FORWARD -p tcp -d 192.168.111.208 --dport 80 -j ACCEPT
iptables -vnL
Chain INPUT (policy DROP 2578 packets, 214K bytes)
pkts bytes target prot opt in out source destination
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x29
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x3F
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x00
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x06
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x03/0x03
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x11/0x01
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x37
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x1
409K 41M ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 /* Allow_Loopback */
266K 142M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED /* Allow_Established */
70302 10M ACCEPT udp -- eth1 * 0.0.0.0/0 0.0.0.0/0 /* Allow_DHCP */
46048 2113K ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 /* Allow_DHCP */
9537 595K ACCEPT all -- eth1 * 192.168.111.0/24 0.0.0.0/0 /* Allow_Local_Network */
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- lo lo 0.0.0.0/0 0.0.0.0/0 /* Allow_Loopback */
2910K 2931M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED /* Allow_Established */
92495 7475K ACCEPT all -- eth1 * 192.168.111.0/24 0.0.0.0/0 /* Allow_Local_Network */
0 0 ACCEPT tcp -- * * 0.0.0.0/0 192.168.111.208 tcp dpt:80