www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

firewall.drop input ports 80,22,443

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
s_a_kravchenko



Joined: 23 Jun 2011
Posts: 7

PostPosted: Mon Apr 07, 2014 6:56 am    Post subject: firewall.drop input ports 80,22,443 Reply with quote

Hi. As i understand there are default rules for input policy in firewall. Such as allow access to router on ports 80,22,443. I want to make access only from my ip and my MAC. How can I do it? thanks.
Back to top
View user's profile Send private message
DrmCa



Joined: 12 Apr 2011
Posts: 220

PostPosted: Tue Apr 08, 2014 3:31 pm    Post subject: Reply with quote

There is an easy workaround. NAT those ports to a non-existing IP on your LAN and the router will not be accessible from outside.
Back to top
View user's profile Send private message
s_a_kravchenko



Joined: 23 Jun 2011
Posts: 7

PostPosted: Tue Apr 08, 2014 4:53 pm    Post subject: Reply with quote

[quote="DrmCa"]There is an easy workaround. NAT those ports to a non-existing IP on your LAN and the router will not be accessible from outside.[/quote]

Thanks. nice way.
Back to top
View user's profile Send private message
redfive



Joined: 27 Aug 2009
Posts: 232

PostPosted: Tue Apr 08, 2014 7:07 pm    Post subject: Reply with quote

But why not simply use the Web tab and SSH tab, from Setup ? Maybe I've missed something...
Regards
Back to top
View user's profile Send private message
s_a_kravchenko



Joined: 23 Jun 2011
Posts: 7

PostPosted: Thu Apr 10, 2014 8:13 am    Post subject: Reply with quote

Yes! Thank you so much! this is what i wanted. it works even when we use captive portal!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group