LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2011, 04:02 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
about firewall and networking in general


I cannot understand, why do we have to define both Source/Destination AND Direction when building firewall.
Isn't direction= source->destination?

what would happen if source and destination were swapped?
 
Old 05-30-2011, 05:39 AM   #2
tg0000
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 20.3 Una, MATE 1.26.0
Posts: 63
Blog Entries: 1

Rep: Reputation: 12
Quote:
Originally Posted by qrange View Post
I cannot understand, why do we have to define both Source/Destination AND Direction when building firewall.
Isn't direction= source->destination?

what would happen if source and destination were swapped?
Sometimes a visual example will help. Try this one on for size :-)
 
Old 05-30-2011, 05:45 AM   #3
tg0000
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 20.3 Una, MATE 1.26.0
Posts: 63
Blog Entries: 1

Rep: Reputation: 12
Symantec also has some decent information on the subject.
 
Old 05-30-2011, 06:39 AM   #4
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
thanks.
would 'source' and 'destination' have something to do with who initializes connection (by sending the first packet) and who sends ack?
 
  


Reply



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
networking firewall problam Damon Spector Fedora 3 09-01-2007 08:18 AM
Networking - Router\Firewall. stefdaniels Linux - Networking 1 11-17-2003 10:14 AM
Networking aspects of a firewall totfc Linux - Networking 3 10-09-2002 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:22 PM.

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