Koozali.org: home of the SME Server

Protocol 43 GRE Forwarding

Offline Neririn

  • ****
  • 100
  • +0/-0
Protocol 43 GRE Forwarding
« on: February 17, 2004, 06:28:14 AM »
Forgive me for I know this has been adressed somewhere, but tonight my searches are turning up nothing.  Can someone tell me how or point me to the forum article that shows how to forward VPN traffic through an SME firewall to an internal VPN server?

Thanks in advance.
......

shanen

Protocol 43 GRE Forwarding
« Reply #1 on: February 17, 2004, 10:27:10 AM »
I realise this might not help you much, but you may need to use ipcop for this.

As usual, there is 15 million possible configurations that we can configure. Give us an idea of your network and lets see what we can do.

Offline Neririn

  • ****
  • 100
  • +0/-0
Forward VPN trafic to internal Windows VPN server
« Reply #2 on: February 19, 2004, 05:05:47 AM »
I basically just need to tell SME to forward all VPN requests to an internal IP address.
......

shanen

Protocol 43 GRE Forwarding
« Reply #3 on: February 19, 2004, 12:08:41 PM »
As I understand, sme doesn't forward gre...Basically

Offline Neririn

  • ****
  • 100
  • +0/-0
Well..
« Reply #4 on: February 19, 2004, 05:15:29 PM »
So there is no way to use SME as a firewall, but have an internal Windows box run VPN?  That doesnt seem logical to me. IPTables is capable of forwarding protocol 47... SME uses IPTables.  This is right?  Is there a way to manually adjust the template for IPTables to add a FORWARD -p 47 -d <internal_IP> then just use port forwarding to send the ports there as well?  

THis HAS to be possible, I just dont know where/how SME generates the IPTable rules.  Does anyone know where this is done?  How does portforwarding add rules to IPTables?  Can this proccess be accessed manually for non udp/tcp protocols to be defined?
......

shanen

Protocol 43 GRE Forwarding
« Reply #5 on: February 19, 2004, 11:25:47 PM »

shanen

Protocol 43 GRE Forwarding
« Reply #6 on: February 20, 2004, 02:50:19 AM »
There is a template that looks like it blocks gre from all sites unless SME has negotiated a PPPTP connection with the site.
/etc/e-smith/templates/etc/rc.d/init.d/masq/55AllowGRE

I'm sure with a bit more digging around, you will find a solution.

Shane