Re: control outgoing IP address?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Barry Brimer wrote:
I'd like to consolidate some services that have been assigned by IP (dns, syslog etc.) onto one machine by giving it IP aliases to accept connections for the old addresses until all the references are fixed. However, I'd like to have it use it's original IP as the source for outbound connections. Where do you control that?

There may be settings in each application that control that, but in case there are not .. you should be able to do something like :

iptables -t nat -A POSTROUTING -p tcp --sport 334 -j SNAT --to 2.3.4.5


Is there no way to control the default source address?

--
  Les Mikesell
    lesmikesell@xxxxxxxxx

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux