Re: [CentOS] CentOS port forwarding?

2010-01-26 Thread Bob McConnell
hadi motamedi wrote: > Dear All > I have my CentOS server at @172.16.17.100 and my remote network element at @ > 172.16.17.110 and both ones have Internet access . I need to virtually put > the remote network element on the same LAN as my CentOS server to be touched > with . In my application , bot

[CentOS] CentOS port forwarding?

2010-01-26 Thread hadi motamedi
Dear All I have my CentOS server at @172.16.17.100 and my remote network element at @ 172.16.17.110 and both ones have Internet access . I need to virtually put the remote network element on the same LAN as my CentOS server to be touched with . In my application , both the ip addresses are as inval

Re: [CentOS] port forwarding using iptables

2009-11-25 Thread Robert Spangler
On Wednesday 25 November 2009 13:57, Boris Epstein wrote: > Happy Thanksgiving! Same to you too. > Does anybody know if there is a convenient utility to configure > iptables on a CentOS 5.4 or 5.3 machine to do port forwarding? And if > not, where and how does one put the requisite commands?

Re: [CentOS] port forwarding using iptables

2009-11-25 Thread IƱigo Medina
Hi Boris, Does anybody know if there is a convenient utility to configure iptables on a CentOS 5.4 or 5.3 machine to do port forwarding? And if not, where and how does one put the requisite commands? I'm using iptables just as command. For information about service and very useful examples lo

Re: [CentOS] port forwarding using iptables

2009-11-25 Thread Ron Loftin
On Wed, 2009-11-25 at 13:57 -0500, Boris Epstein wrote: > Hi listmates, > > Happy Thanksgiving! > > Does anybody know if there is a convenient utility to configure > iptables on a CentOS 5.4 or 5.3 machine to do port forwarding? And if > not, where and how does one put the requisite commands? F

[CentOS] port forwarding using iptables

2009-11-25 Thread Boris Epstein
Hi listmates, Happy Thanksgiving! Does anybody know if there is a convenient utility to configure iptables on a CentOS 5.4 or 5.3 machine to do port forwarding? And if not, where and how does one put the requisite commands? Thanks. Boris. ___ CentOS m

Re: [CentOS] Port Forwarding woes

2009-04-28 Thread D Tucny
2009/4/28 Filipe Brandenburger > Hi, > > On Mon, Apr 27, 2009 at 16:01, Bo Lynch wrote: > > I think I found the culprit but not sure if by taking this out it will be > > a risk. When I remove this statement things work > > iptables -A FORWARD -i eth0 -m state --state NEW, INVALID -j DROP > >

Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Filipe Brandenburger
Hi, On Mon, Apr 27, 2009 at 16:01, Bo Lynch wrote: > I think I found the culprit but not sure if by taking this out it will be > a risk. When I remove this statement things work > iptables -A FORWARD -i eth0 -m state --state NEW, INVALID -j DROP > > If I drop the NEW it works. Should I be con

Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Barry Brimer
Quoting Bo Lynch : > On Mon, April 27, 2009 12:50 pm, D Tucny wrote: > > 2009/4/28 Bo Lynch > > > >> On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: > >> > Bo Lynch wrote: > >> >> I'm having some port forwarding issues issues with iptables. > >> >> We are using iptables as a firewall with 2 nics

Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Bo Lynch
On Mon, April 27, 2009 12:50 pm, D Tucny wrote: > 2009/4/28 Bo Lynch > >> On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: >> > Bo Lynch wrote: >> >> I'm having some port forwarding issues issues with iptables. >> >> We are using iptables as a firewall with 2 nics and on ip alias. >> >> I'm trying

Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Dan Carl
Bo Lynch wrote: > On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: > >> Bo Lynch wrote: >> >>> I'm having some port forwarding issues issues with iptables. >>> We are using iptables as a firewall with 2 nics and on ip alias. >>> I'm trying to port forward on the alias ip >>> eth0 = 65.x.x.1

Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Barry Brimer
Quoting Bo Lynch : > On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: > > Bo Lynch wrote: > >> I'm having some port forwarding issues issues with iptables. > >> We are using iptables as a firewall with 2 nics and on ip alias. > >> I'm trying to port forward on the alias ip > >> eth0 = 65.x.x.1 > >

Re: [CentOS] Port Forwarding woes

2009-04-27 Thread D Tucny
2009/4/28 Bo Lynch > On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: > > Bo Lynch wrote: > >> I'm having some port forwarding issues issues with iptables. > >> We are using iptables as a firewall with 2 nics and on ip alias. > >> I'm trying to port forward on the alias ip > >> eth0 = 65.x.x.1 >

Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Bo Lynch
On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: > Bo Lynch wrote: >> I'm having some port forwarding issues issues with iptables. >> We are using iptables as a firewall with 2 nics and on ip alias. >> I'm trying to port forward on the alias ip >> eth0 = 65.x.x.1 >> eth0:1 = 65.x.x.2 >> eth1 = 192.

Re: [CentOS] Port Forwarding woes

2009-04-27 Thread Dan Carl
Bo Lynch wrote: > I'm having some port forwarding issues issues with iptables. > We are using iptables as a firewall with 2 nics and on ip alias. > I'm trying to port forward on the alias ip > eth0 = 65.x.x.1 > eth0:1 = 65.x.x.2 > eth1 = 192.168.x.x > > I'm wanting to forward certain ports(80,5071.

[CentOS] Port Forwarding woes

2009-04-27 Thread Bo Lynch
I'm having some port forwarding issues issues with iptables. We are using iptables as a firewall with 2 nics and on ip alias. I'm trying to port forward on the alias ip eth0 = 65.x.x.1 eth0:1 = 65.x.x.2 eth1 = 192.168.x.x I'm wanting to forward certain ports(80,5071...etc) that makes request on et

Re: [CentOS] Port Forwarding

2009-02-03 Thread Thom Paine
No, I only have one mailserver with one domain I'm managing with about 30 users. I think I have the routing working properly now, as well as the acl's. I put some route statements on eth2 for the private network and that seems to have resolved issues. I do have an authentication issue with ldap,

Re: [CentOS] Port Forwarding

2009-02-03 Thread John
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Morten Torstensen > Sent: Tuesday, February 03, 2009 2:56 AM > To: CentOS mailing list > Subject: Re: [CentOS] Port Forwarding > > John wrote: > > I am

Re: [CentOS] Port Forwarding

2009-02-02 Thread Morten Torstensen
John wrote: > I am an open source person but when it comes to something like that I hate > to say it but Exchange has it covered. What's others opinions? How would you > do it? I'm currious to know how you would do this in an environment that has > many compliance problems. Mainly issues of privacy

Re: [CentOS] Port Forwarding

2009-02-02 Thread John
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Thom Paine > Sent: Monday, February 02, 2009 10:31 AM > To: CentOS mailing list > Subject: Re: [CentOS] Port Forwarding > > The other issue we are having is th

Re: [CentOS] Port Forwarding

2009-02-02 Thread Les Mikesell
Thom Paine wrote: > The other issue we are having is that I need to run LDAP on that > server for syncing address books to send email with. So not only do I > need mail and LDAP, but I need ssl and authentication and > certificates. Those are all included - why not run them? > I do have another b

Re: [CentOS] Port Forwarding

2009-02-02 Thread Thom Paine
n Sat, Jan 31, 2009 at 2:25 PM, John wrote: >> -Original Message- >> From: centos-boun...@centos.org >> [mailto:centos-boun...@centos.org] On Behalf Of Les Mikesell >> Sent: Saturday, January 31, 2009 12:57 PM >> To: CentOS mailing list >> Subject: Re:

Re: [CentOS] Port Forwarding

2009-01-31 Thread John
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Les Mikesell > Sent: Saturday, January 31, 2009 12:57 PM > To: CentOS mailing list > Subject: Re: [CentOS] Port Forwarding > > Thom Paine wrote: > > &

Re: [CentOS] Port Forwarding

2009-01-31 Thread Les Mikesell
Thom Paine wrote: > > It doesn't necessarily make sense. This entire project doesn't make > sense. The issue is that we are sending confidential patient records > through a private network. > > Instead of using something like PKI encryption (like I use at the > police station where I also work), t

Re: [CentOS] Port Forwarding

2009-01-31 Thread John
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Thom Paine > Sent: Friday, January 30, 2009 1:11 PM > To: CentOS mailing list > Subject: Re: [CentOS] Port Forwarding > > Well after running into more issues

Re: [CentOS] Port Forwarding

2009-01-30 Thread Thom Paine
Well after running into more issues with the connections, we wound up putting a third network card in the main server. They thought this a better solution rather than forwarding the packets. So now my issue is I have 3 nics. eth0 - 10.10.10.1/255.255.255.0 eth1 - x.x.x.x/255.255.255.252 - Public

Re: [CentOS] Port Forwarding

2009-01-19 Thread John
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Thom Paine > Sent: Monday, January 19, 2009 9:59 AM > To: CentOS mailing list > Subject: Re: [CentOS] Port Forwarding > > > In the case of the OP, I wo

Re: [CentOS] Port Forwarding

2009-01-19 Thread Filipe Brandenburger
Hi, On Mon, Jan 19, 2009 at 09:58, Thom Paine wrote: > I think option 2 will work best for me. The box and connection on > y.y.y.y is strictly for communicating with this other mail server I > need to relay out, and receive only patient records mail from. If I > rewrite the packets to appear to b

Re: [CentOS] Port Forwarding

2009-01-19 Thread Thom Paine
> In the case of the OP, I would urge him to evaluate if that network > topology really makes sense. Does it make sense having two hosts with > two different connections? In that case, does it make sense to run > services like mail/web servers on these hosts? Shouldn't they be > dedicated routers/f

Re: [CentOS] Port Forwarding

2009-01-16 Thread Filipe Brandenburger
Hi, To implement either 1) or 3) you need to mix iptables and iproute2 to route packages matching specific criteria. The "Linux Advanced Routing & Traffic Control HOWTO" has a specific section on this, and an example very similar to yours (although they show how to route outgoing e-mail traffic a

Re: [CentOS] Port Forwarding

2009-01-16 Thread Filipe Brandenburger
Hi, On Fri, Jan 16, 2009 at 11:19, Thom Paine wrote: > Is there some step with networking that I am missing in getting this to work? Yes, the packet must return to the original source in the Internet with the y.y.y.y source IP. Your machine with IP x.x.x.x probably has a default gateway in eth0

Re: [CentOS] Port Forwarding

2009-01-16 Thread nate
Thom Paine wrote: > I'm having trouble getting port forwarding working on my one box. I think port forwarding is working fine, it's the routing of the traffic back to the source that is not because linux doesn't handle multiple default gateways very well out of the box. Look into multi homed routi

[CentOS] Port Forwarding

2009-01-16 Thread Thom Paine
I'm having trouble getting port forwarding working on my one box. I have 2 incoming internet connections. I have 2 servers on these connections. pubinternet privinternet eth0:x.x.x.x eth0:y.y.y.y eth1:10.10.10.1

RE: [CentOS] Port forwarding "File" ?

2008-05-06 Thread Ross S. W. Walker
Andrew @ ATM Logic wrote: > > Can someone tell me what, and where the file that contains > the port forwarding info is on a standard install? I had a > server fail, I have mounted the drive and need to get this info back. /etc/sysconfig/iptables and /etc/sysconfig/ip6tables -Ross ___

[CentOS] Port forwarding "File" ?

2008-05-06 Thread Andrew @ ATM Logic
Can someone tell me what, and where the file that contains the port forwarding info is on a standard install? I had a server fail, I have mounted the drive and need to get this info back. Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.c

RE: [CentOS] BQ/CentOS port forwarding

2007-06-20 Thread Ashton, Jeremy - Workstream Inc.
lto:[EMAIL PROTECTED] On Behalf Of Charles Sliger Sent: Wednesday, June 20, 2007 12:21 PM To: 'CentOS mailing list' Subject: RE: [CentOS] BQ/CentOS port forwarding Here is the corresponding command from my iptables script: EXTDEV=eth1 EXTIP=69.54.130.16 SMTPIP=10.10.10.12 $IPT -t

RE: [CentOS] BQ/CentOS port forwarding

2007-06-20 Thread Charles Sliger
: chaz_sliger} {Google: chaz.sliger} > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Veale > Sent: Friday, June 15, 2007 1:38 PM > To: 'CentOS mailing list' > Subject: RE: [CentOS] BQ/CentOS port forwarding > &

RE: [CentOS] BQ/CentOS port forwarding

2007-06-15 Thread Richard Veale
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Veale Sent: Friday, June 15, 2007 8:32 AM To: 'CentOS mailing list' Subject: RE: [CentOS] BQ/CentOS port forwarding Thanks Robert, I have a Terminal Services Server that will be behind the inside interface, I nee

RE: [CentOS] BQ/CentOS port forwarding

2007-06-15 Thread Richard Veale
: Thursday, June 14, 2007 10:31 PM To: CentOS mailing list Subject: Re: [CentOS] BQ/CentOs port forwarding On Thu June 14 2007 18:06, Richard Veale wrote: > Just bought a new BQ/CentOS box with full NuOnce load (Linux > 2.6.9-55.ELsmp, gcc 3.4.6, Red Hat 3.4.6-8, Apache 2.0.52, BQ 5102

Re: [CentOS] BQ/CentOs port forwarding

2007-06-14 Thread Robert Spangler
On Thu June 14 2007 18:06, Richard Veale wrote: > Just bought a new BQ/CentOS box with full NuOnce load (Linux > 2.6.9-55.ELsmp, gcc 3.4.6, Red Hat 3.4.6-8, Apache 2.0.52, BQ 5102r), to > replace my old Qube 3 pro, I have NAT setup (eth0 = inside, eth1 = outside) > but need to get port forwarding

[CentOS] BQ/CentOs port forwarding

2007-06-14 Thread Richard Veale
Just bought a new BQ/CentOS box with full NuOnce load (Linux 2.6.9-55.ELsmp, gcc 3.4.6, Red Hat 3.4.6-8, Apache 2.0.52, BQ 5102r), to replace my old Qube 3 pro, I have NAT setup (eth0 = inside, eth1 = outside) but need to get port forwarding going. What is the best way? Thanks in advance Ri