Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd November 2006, 16:36
adam adam is offline
Member
 
Join Date: Aug 2006
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using names in shorewall firewall rules instead of IP addresses

Is it possible to somehow use a domain instead of an ip address to filter traffic?

Because my home ips are dynamic, they change from time to time which means i have to filter my SSH port like this

ACCEPT net:211.155.0.0-211.155.255.255 fw tcp ssh

Using a service like no-ip.com gives me a fixed address that updates everytime my ip address does, so is it possible to get shorewall to do this instead

ACCEPT net:test.no-ip.com fw tcp ssh

this would solve a lot of problems and close off complete ranges that can potentially access my SSH.
Reply With Quote
Sponsored Links
  #2  
Old 4th November 2006, 16:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
 
Default

Yes, you can use domain names. Have a look here: http://linuxgazette.net/103/odonovan.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability (Load Balancing) behind a firewall geek.de.nz Server Operation 7 4th January 2011 13:58
Robust firewall rules tom@ttucker.com Installation/Configuration 9 29th December 2006 16:34
custom firewall rules edge Installation/Configuration 2 13th December 2005 13:00
I need a suitable firewall. agul Server Operation 4 23rd November 2005 00:12
Firewall rules missing after Upgrade. jernis Installation/Configuration 2 17th August 2005 12:46


All times are GMT +2. The time now is 13:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.