Find the answer to your Linux question:
Results 1 to 2 of 2
i want to allow outgoing connection, mine is destination port or source port? who is destination here, my computer or the server/website im trying to connect & who is source. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2013
    Posts
    2

    Lightbulb what is outgoing/outbound connection source port & destination port ?


    i want to allow outgoing connection, mine is destination port or source port? who is destination here, my computer or the server/website im trying to connect & who is source.

    eg :
    iptables -A OUTPUT -o eth0 -p tcp --dport 443 -m state --state NEW,ESTABLISHED -j ACCEPT
    iptables -A INPUT -i eth0 -p tcp --sport 443 -m state --state ESTABLISHED -j ACCEPT

    here dport 443 (is my port or the port of the computer im trying to connect)

    inshort, INCOMING/INBOUND MEANS { FROM/SOURCE PORT /OTHERS PC - TO/DESTINATION PORT /MY PC }

    OUTBOUND /OUTGOING MEANS ?
    PLS REFER TO THE ABOVE EXAMPLE AND EXPLAIN

  2. #2
    Just Joined!
    Join Date
    Jun 2013
    Posts
    5
    try the link.
    lists.netfilter.org/pipermail/netfilter/2002-June/034909.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •