On 3/12/2015 1:52 PM, Rich Wales wrote:
> I'm having a Shorewall problem on a brand-new virtual server I'm setting up.
> 
> (Shorewall version = 4.5.21.6; OS = Ubuntu 14.04.2 LTS; kernel =
> 3.13.0-46-generic, 64-bit.)
> 
> I want to forward inbound IMAP connections to another server, accessible
> via a VPN (OpenVPN 2.3.2).
> 
> When I try to do this, however, the connection attempt sits for several
> minutes before eventually timing out.
> 
> The attached Shorewall dump shows what happened when I tried to do
> "telnet 192.163.200.166 imap" on the host 68.65.164.12. 
> (192.163.200.166 is the IP address of my virtual server.)
> 
> If I try to connect manually to the IMAP service I'm trying to DNAT to
> ("telnet 10.0.227.2 imap" on the virtual server), it connects just fine.
> 
> Any suggestions would be welcomed.  Please let me know if more info is
> needed or would help.  Thanks.

This won't work unless the default route on the VPN-connected server is
via the VPN. See Shorewall FAQ 1f.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to