Re: OpenVPN and IP Forwarding

2013-01-19 Thread Joe
On Sat, 19 Jan 2013 14:30:54 +0100 Pascal Hambourg wrote: > Hello, > > Joe a écrit : > > > > Entirely unrelated to anything else in the thread, but this one > > caught me yesterday, moving a firewall script from an old Ubuntu to > > a Sid machine. > > > > In Sid, 'state' no longer works. Inste

Re: OpenVPN and IP Forwarding

2013-01-19 Thread Pascal Hambourg
cletusjenkins a écrit : > I can ping the machine from the private network, but not the other way around. What does this mean exactly ? Please provide the exact commands and output. Also please provide the output of iptables-save. > Kernel IP routing table > Destination Gateway Genmas

Re: OpenVPN and IP Forwarding

2013-01-19 Thread Pascal Hambourg
Hello, Joe a écrit : > > Entirely unrelated to anything else in the thread, but this one caught > me yesterday, moving a firewall script from an old Ubuntu to a Sid > machine. > > In Sid, 'state' no longer works. Instead of: Are you sure it is not just a warning ? I can see from packages.debian

Re: OpenVPN and IP Forwarding

2013-01-17 Thread Joe
On Thu, 17 Jan 2013 08:01:06 + Bonno Bloksma wrote: > > > KEEPSTATE=" -m state --state ESTABLISHED,RELATED" > # Accept return traffic. > $IPTABLES -A FORWARD -j ACCEPT $KEEPSTATE > $IPTABLES -A INPUT -j ACCEPT $KEEPSTATE Entirely unrelated to anything else in the thread, but this one caught

RE: OpenVPN and IP Forwarding

2013-01-17 Thread Bonno Bloksma
PT # Forward traffic from your local LAN to the outside $IPTABLES -A FORWARD -i eth0 -j ACCEPT -Oorspronkelijk bericht- Van: Bonno Bloksma [mailto:b.blok...@tio.nl] Verzonden: donderdag 17 januari 2013 8:51 Aan: debian-user Onderwerp: RE: OpenVPN and IP Forwarding Hi, >>>http:/

RE: OpenVPN and IP Forwarding

2013-01-16 Thread Bonno Bloksma
Hi, >>>http://i1309.photobucket.com/albums/s629/CletusJenkins/network_zps9f815828.png >> >>This helped a lot. >>Now me, I have the VPN server running on the "router" machine and the client >>on the side of the end users. But if you are the only user then this should >>work too, it is just a bi

RE: OpenVPN and IP Forwarding

2013-01-16 Thread cletusjenkins
>>I used dia to make a png file diagram of my network. I tried to make one with >>text, but >>I couldn't understand it and I made it. I assume the list won't forward >>attachments, so >>I posted it at: >> >>http://i1309.photobucket.com/albums/s629/CletusJenkins/network_zps9f815828.png >> >

RE: OpenVPN and IP Forwarding

2013-01-15 Thread Bonno Bloksma
Hi, >>This is a good clarification. But still confusing. I think you need to >>give us a block diagram or picture of things. Because in the above it >>reads like you have two machines in your path where most of us would >>have only one. Because you say that you vpn to a server and that server

Re: OpenVPN and IP Forwarding

2013-01-15 Thread cletusjenkins
>This is a good clarification. But still confusing. I think you need >to give us a block diagram or picture of things. Because in the above >it reads like you have two machines in your path where most of us >would have only one. Because you say that you vpn to a server and >that server you vpn'

Re: OpenVPN and IP Forwarding

2013-01-15 Thread Bob Proulx
cletusjenkins wrote: > I have a route table entry to the private network, so after openvpn > makes its tun0 interface the default gw, anything heading for > 192.168.2.0/8 should work as before, but it doesn't quite work. Do you have firewall rules set up on your server? If so then it is probably

Re: OpenVPN and IP Forwarding

2013-01-15 Thread Bob Proulx
Bonno Bloksma wrote: > > I have a machine with an internet connection, it acts as a router > > for other systems on a private network (192.168.2.0/8). > > I setup a VPN client with openvpn on this machine, the VPN works > > perfectly, but when connected to the VPN the machine does not > > route for

RE: OpenVPN and IP Forwarding

2013-01-15 Thread cletusjenkins
On Tue, 15 Jan 2013 02:23:29 -0800 Bonno Bloksma wrote > Hi, > > > I have a machine with an internet connection, it acts as a router for > > other systems on a private network (192.168.2.0/8). > > I setup a VPN client with openvpn on this machine, the VPN works > > perfectl

RE: OpenVPN and IP Forwarding

2013-01-15 Thread Bonno Bloksma
Hi, > I have a machine with an internet connection, it acts as a router for other > systems on a private network (192.168.2.0/8). > I setup a VPN client with openvpn on this machine, the VPN works perfectly, > but when connected to the VPN the machine does not route for the private > network sy