iptables help required

General discussion about PLUC and Linux in Pakistan.
tahiralijafri
Lance Naik
Posts: 25
Joined: Sat Dec 17, 2005 8:40 pm
Location: Rawalpindi
Contact:

iptables help required

Postby tahiralijafri » Thu Feb 02, 2006 4:54 pm


kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Postby kbukhari » Thu Feb 02, 2006 5:59 pm

--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com

tahiralijafri
Lance Naik
Posts: 25
Joined: Sat Dec 17, 2005 8:40 pm
Location: Rawalpindi
Contact:

Postby tahiralijafri » Fri Feb 03, 2006 10:43 am


kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Postby kbukhari » Fri Feb 03, 2006 11:02 am

--

Syed Kashif Ali Bukhari

+92-345-8444420

http://sysadminsline.com

http://kashifbukhari.com

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Fri Feb 03, 2006 4:11 pm

Dear tahiralijafri,
Salam,

# iptables -I INPUT -p tcp -j DROP

Best Regards.
Farrukh Ahmed

crazy_frog
Naik
Posts: 72
Joined: Fri Dec 16, 2005 9:44 am
Location: Karachi, Pakistan
Contact:

Postby crazy_frog » Sat Feb 18, 2006 12:08 pm

chk out a small tutorial for

I hope it would be helpful for you.
Hâve á nice day !!

tahiralijafri
Lance Naik
Posts: 25
Joined: Sat Dec 17, 2005 8:40 pm
Location: Rawalpindi
Contact:

Re

Postby tahiralijafri » Mon Feb 27, 2006 1:38 pm


LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Mon Feb 27, 2006 3:03 pm

Dear tahiralijafri,
Salam,

Please post the output of following commands.

# iptables -L -n --line
# iptables -t nat -L -n --line
# iptables -t mangle -L -n --line
# iptables -t filter -L -n --line


Best Regards.
Farrukh Ahmed

tahiralijafri
Lance Naik
Posts: 25
Joined: Sat Dec 17, 2005 8:40 pm
Location: Rawalpindi
Contact:

Re:

Postby tahiralijafri » Mon Feb 27, 2006 10:06 pm


LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Tue Feb 28, 2006 10:14 am

Farrukh Ahmed

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Tue Feb 28, 2006 10:53 am

Dear tahiralijafri,
Salam,

This will 100% helps you out. I will have to modify my MAC Script.

# iptables -F
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -t fitler -F
# iptables -t fitler -X
# iptables -I INPUT 1 -m state --state ESTABLISHED,RELATED -j ACCEPT
# iptables -A INPUT -p all -m mac --mac-source 00:50:04:60:1D:6D -j ACCEPT
# iptables -A INPUT -p all -j DROP


Best Regards.
Farrukh Ahmed

tahiralijafri
Lance Naik
Posts: 25
Joined: Sat Dec 17, 2005 8:40 pm
Location: Rawalpindi
Contact:

Thanks

Postby tahiralijafri » Wed Mar 01, 2006 10:06 am


LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Wed Mar 01, 2006 11:57 am

Farrukh Ahmed

tahiralijafri
Lance Naik
Posts: 25
Joined: Sat Dec 17, 2005 8:40 pm
Location: Rawalpindi
Contact:

Include File Iptables

Postby tahiralijafri » Mon Mar 06, 2006 12:48 pm


LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Tue Mar 07, 2006 3:32 pm

Dear tahiralijafri,
Salam,

Take a look at below link.

FYI, http://www.linuxpakistan.net/forum2x/vi ... php?t=2182

Best Regards.
Farrukh Ahmed


Return to “General”

Who is online

Users browsing this forum: No registered users and 3 guests