Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I create a rule Shorewall for bridging port 443 from eth0 to eth1?

share|improve this question

migrated from Feb 27 '11 at 9:14

This question came from our site for professional and enthusiast programmers.

Assuming that your interfaces file has

inside    eth0     ...
outside   eth1     ...

i.e. eth0 is called 'inside' and eth1 is called 'outside'

You could write a rule like

#ACTION         SOURCE          DEST            PROTO   DEST    SOURCE   ...
#                                                       PORT
ACCEPT          inside          outside         tcp     443

This would allow TCP traffic on port 443 to flow freely from hosts on eth0 to hosts on eth1, but not backwards.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.