Advertisement

04.08.2008 at 06:32PM PDT, ID: 23306896
[x]
Attachment Details

IP tables setup

[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.1
I'm pretty good setting up an access list on a PIX, but these IP tables on a Linux machine confuses the heck out of me.

I've got two servers, 1 at each branch.  Server A with 2 network cards, eth0 = 192.168.0.202 and eth1 = A.B.C.243  (a public internet address)
and server B with 2 network cards, eth0 = 192.168.16.202 and eth1 = D.E.F.53 (another Public IP)

each office needs full access to eth0,  for eth1 I want to block all access except for the ports needed for the GRE IP tunnel that exists between the two servers and is used for my 2 offices to communicate with each other.  I'm sure you can guess the IP's on the workstations are 192.168.0.0/24 and 192.168.16.0/24.

I'm still looking for the port numbers needed for this tunnel, but if I can get the right syntax for my IPTABLES I can put in the port number later.
Or if you know the port number you will get some extra brownie points :-).  If this helps, here is the command I type to bring initiate the tunnel....
ip tunnel add tunnel0 mode gre remote A.B.C.243 local D.E.F.53 ttl 255

Thanks in advance!
Answered By: franked_it
Expert Since: 01/23/2008
Accepted Solutions: 47
Computer Expertise: Intermediate
franked_it has been an Expert for 11 months, during which he has posted 192 comments and answered 47 questions. franked_it is just one of 84 experts in the IP Tables/IP Chains Zone. 1 expert collaborated on this answer, which was graded an "A" by the asker.
 
 
20081119-EE-VQP-47 / EE_QW_EXPERT_20070906