All of lore.kernel.org
 help / color / mirror / Atom feed
* Enabling internal connections to transparently connect via external IP address
@ 2007-05-31 20:17 Chris Willis
  2007-06-01  0:09 ` Robby Workman
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Willis @ 2007-05-31 20:17 UTC (permalink / raw)
  To: 'netfilter@lists.netfilter.org'

Environment:
Windows XP laptop machine, part of domain acme.int, IP 192.168.1.150
Windows 2003 Server running Exchange 2003 (exchange.acme.int, 192.168.1.10)
External Domain: acme.com (T1 line, firewall external IP & MX record mail.acme.com 60.60.60.60)
Firewall: PC running Fedora Core 6, IPTables, using FWBuilder to create a ruleset, 2 NICs (eth0 192.168.1.1, eth1 60.60.60.60)

Problem: when a laptop user (works in office and remotely) goes to https://mail.acme.com, it works fine from the outside, but not from the inside.

Goal: when an internal (192.168.1.X) client goes to https://mail.acme.com, the firewall should accept the packets, route them to the exchange box, and then route return packets back to the client.

This works just fine on a netscreen firewall I tested with at the client site (same IP addresses as  linux box above).



Chris Willis



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Enabling internal connections to transparently connect via external IP address
  2007-05-31 20:17 Enabling internal connections to transparently connect via external IP address Chris Willis
@ 2007-06-01  0:09 ` Robby Workman
  2007-06-01  9:00   ` Martijn Lievaart
  0 siblings, 1 reply; 3+ messages in thread
From: Robby Workman @ 2007-06-01  0:09 UTC (permalink / raw)
  To: Chris Willis; +Cc: 'netfilter@lists.netfilter.org'

Chris Willis wrote:
> Environment:
> Windows XP laptop machine, part of domain acme.int, IP 192.168.1.150
> Windows 2003 Server running Exchange 2003 (exchange.acme.int, 192.168.1.10)
> External Domain: acme.com (T1 line, firewall external IP & MX record mail.acme.com 60.60.60.60)
> Firewall: PC running Fedora Core 6, IPTables, using FWBuilder to create a ruleset, 2 NICs (eth0 192.168.1.1, eth1 60.60.60.60)
> 
> Problem: when a laptop user (works in office and remotely) goes to https://mail.acme.com, it works fine from the outside, but not from the inside.
> 
> Goal: when an internal (192.168.1.X) client goes to https://mail.acme.com, the firewall should accept the packets, route them to the exchange box, and then route return packets back to the client.
> 
> This works just fine on a netscreen firewall I tested with at the client site (same IP addresses as  linux box above).


There's the "dirty" way (IMHO):
http://iptables-tutorial.frozentux.net/chunkyhtml/x4033.html

There's the cleaner way (IMHO):
Have your DNS server setup to serve internal clients the internal
address of mail.acme.com.

RW


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Enabling internal connections to transparently connect via external IP address
  2007-06-01  0:09 ` Robby Workman
@ 2007-06-01  9:00   ` Martijn Lievaart
  0 siblings, 0 replies; 3+ messages in thread
From: Martijn Lievaart @ 2007-06-01  9:00 UTC (permalink / raw)
  To: Robby Workman; +Cc: 'netfilter@lists.netfilter.org', Chris Willis

Robby Workman wrote:
> Chris Willis wrote:
>   
>> Environment:
>> Windows XP laptop machine, part of domain acme.int, IP 192.168.1.150
>> Windows 2003 Server running Exchange 2003 (exchange.acme.int, 192.168.1.10)
>> External Domain: acme.com (T1 line, firewall external IP & MX record mail.acme.com 60.60.60.60)
>> Firewall: PC running Fedora Core 6, IPTables, using FWBuilder to create a ruleset, 2 NICs (eth0 192.168.1.1, eth1 60.60.60.60)
>>
>> Problem: when a laptop user (works in office and remotely) goes to https://mail.acme.com, it works fine from the outside, but not from the inside.
>>
>> Goal: when an internal (192.168.1.X) client goes to https://mail.acme.com, the firewall should accept the packets, route them to the exchange box, and then route return packets back to the client.
>>
>> This works just fine on a netscreen firewall I tested with at the client site (same IP addresses as  linux box above).
>>     
>
>
> There's the "dirty" way (IMHO):
> http://iptables-tutorial.frozentux.net/chunkyhtml/x4033.html
>
> There's the cleaner way (IMHO):
> Have your DNS server setup to serve internal clients the internal
> address of mail.acme.com.
>   

Or even cleaner, set up the Exchange server in a DMZ (you still have to 
do the split-dns unless you get multiple IPAs).

M4



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-01  9:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31 20:17 Enabling internal connections to transparently connect via external IP address Chris Willis
2007-06-01  0:09 ` Robby Workman
2007-06-01  9:00   ` Martijn Lievaart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.