spikehome
Regular Contributor
Hello,
I made in my /jffss/scripts a file called firewall-start and make that executable.
I want to access my router trought the web interface from specified ip adresses.
The web interface runs at port 5445
and i made a rule in the firewall-start file likt this:
iptables -I INPUT -s xxx.xxx.xxx.xxx -p tcp --destination-port 5445 -j ACCEPT
iptables -I INPUT -s xxx.xxx.xxx.xxx -p tcp --destination-port 22 -j ACCEPT
One rule for the webaccess and one for the ssh access.
Are the rules right?
Als i want to make a rule to access a web service behind the router from the specified adress.
What rule must i use?
want to access it from port 8081 outsite to port 80 inside ip 192.168.xxx.xxx
edit:
seems when i change something at the webinterface like Patentcontrol i need to execute the firewall-script?
Regards
I made in my /jffss/scripts a file called firewall-start and make that executable.
I want to access my router trought the web interface from specified ip adresses.
The web interface runs at port 5445
and i made a rule in the firewall-start file likt this:
iptables -I INPUT -s xxx.xxx.xxx.xxx -p tcp --destination-port 5445 -j ACCEPT
iptables -I INPUT -s xxx.xxx.xxx.xxx -p tcp --destination-port 22 -j ACCEPT
One rule for the webaccess and one for the ssh access.
Are the rules right?
Als i want to make a rule to access a web service behind the router from the specified adress.
What rule must i use?
want to access it from port 8081 outsite to port 80 inside ip 192.168.xxx.xxx
edit:
seems when i change something at the webinterface like Patentcontrol i need to execute the firewall-script?
Regards
Last edited: