Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-30-2004, 01:25 PM   #1
Registered: Jan 2004
Posts: 409

Rep: Reputation: 30
trusted connections

I am going to user iptables in my SuSE 9 in order to secure my system as much as i can.

One machine is going to get connected with my machine.

For example it's the source

then my iptables should be

# iptables -A INPUT -s -p tcp -j ACCEPT
# iptables -A INPUT -s ! -p tcp -j DROP

Are the above commands correct?

I want none can touch my server except
Old 01-31-2004, 07:42 AM   #2
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
Any ideas?
Old 02-02-2004, 06:07 PM   #3
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Those commands will accept any tcp connections originating from
Connections originating from another IP-address would be dropped.

This would protect your local computer from incoming connections. If this is a router/multihomed computer you will have to make other rules as well.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
trusted servers dabash Linux - Networking 4 02-22-2005 12:37 AM
trusted servers dabash Linux - Networking 5 02-11-2005 06:55 PM
trusted user uerden Linux - Security 1 02-16-2004 04:52 PM
trusted computing tincat2 General 13 12-06-2003 06:15 AM
Trusted system juno Linux - General 1 12-24-2002 06:43 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration