Find the answer to your Linux question:
Results 1 to 6 of 6
Hello everyone, here is my problem, my stupid ISP blocks port 25 (SMTP) I have a centos machine that sends emails to me when certain events happen at home. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    9

    Unhappy IPTABLES help!


    Hello everyone, here is my problem, my stupid ISP blocks port 25 (SMTP)
    I have a centos machine that sends emails to me when certain events happen at home.

    I need to use iptables to change the port that postfix uses for outgoing SMTP (I'm not receiving email, I'm SENDING). My receiving server already listens to port 3044.

    So all I need is a line that tells IPTABLES to change only outbound traffic on port 25 to 3044.

    Thanks!

  2. #2
    Just Joined! GatekeeperCruelman's Avatar
    Join Date
    Nov 2008
    Location
    The Netherlands, Wilbertoord
    Posts
    20
    maybe a stupid question, but can't you use port 25 at home?
    or change the port where you sending it from to port 3044.
    I dunno where to change it in Linux because I never used it.
    Good luck with it

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    You will find what you are looking for in this TUTORIAL

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! GatekeeperCruelman's Avatar
    Join Date
    Nov 2008
    Location
    The Netherlands, Wilbertoord
    Posts
    20
    It's maybe not squid, but I think iptables can also help
    I'm going read the tutorial.
    thanks

  6. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    AS you might have already found out the TUTORIAL is for iptables.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  7. #6
    Just Joined! GatekeeperCruelman's Avatar
    Join Date
    Nov 2008
    Location
    The Netherlands, Wilbertoord
    Posts
    20
    sorry my bad, I thought it was another topic

Posting Permissions

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