Networking Forums

Networking Forums > Computer Networking > Linux Networking > Starting connections from firewall

Reply
Thread Tools Display Modes

Starting connections from firewall

 
 
~matteo
Guest
Posts: n/a

 
      05-31-2007, 02:08 PM
Hi,

I've setup two IpCop boxes on two different LANs to create an ipsec
VPN. It works just fine: I can establish connections from hosts on
LAN1 to LAN2 and vice versa. One of the IpCops (called "lisa") has to
work as web proxy for the LAN, with LDAP authentication. It must hence
connect to the LDAP server on the other end of the VPN. The problem is
that lisa cannot establish connections through the VPN, nor can it
ping any host through the ipsec0 interface. This happens also in all
the other IpCop boxes I have, I guess it's a default iptables rule
given in the /etc/rc.d/rc.firewall. I'm pretty new to iptables (I'm
learning it these days) so I don't want to screw everything up by
touching the default conf (although I've tried commenting out
something with no luck).

The lines in /etc/rc.d/rc.firewall regarding this issue should be the
following ones

# trafic from ipsecX interfaces, before "-i GREEN_DEV" accept
everything
/sbin/iptables -N IPSECVIRTUAL
/sbin/iptables -A INPUT -j IPSECVIRTUAL
/sbin/iptables -A FORWARD -j IPSECVIRTUAL

I've also tried to enable logging issuing

iptables -A IPSECVIRTUAL -p all -j LOG --log-level debug --log-prefix
"IPSECVIRTUAL"

but it doesn't seem to log anything.

I really don't know what else to do except keep on studying netfilter,
but any help would be appreciated!

Thanks.

--
~matteo

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solwise SAR-600E with NAT and firewall off blocks incoming connections Geoff Clare Broadband 11 09-30-2009 01:13 PM
Server 2008 with Hyper-V - domain controller - Firewall GUI's show firewall ON, but netsh reports firewall OFF Bruce Sanderson Windows Networking 7 10-07-2008 09:57 AM
FRS always starting OliverP Windows Networking 0 05-08-2006 05:03 PM
tracking connections through a Linux firewall thodu Linux Networking 0 11-25-2003 06:03 AM
Direct connections through NAT/firewall Jem Berkes Linux Networking 14 07-24-2003 10:53 AM



1 2 3 4 5 6 7 8 9 10 11