You are not logged in or registered. Please login or register to use the full functionality of this board...



Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting up IP Tables in Debian
05-22-2012, 11:48 AM
Post: #1
Setting up IP Tables in Debian
To have IP tables working on startup with a config file, you will need to do the following:

Code:
Run: iptables-save > /etc/iptables.conf

Run to create script file: vim /etc/network/if-up.d/iptables

Add to file:

#!/bin/sh
iptables-restore < /etc/iptables.conf

Run: chmod +x /etc/network/if-up.d/iptables
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)