Hi, I send this message because i was wondering if someone does know something about VPN and Samba. The aim is to share files over the internet using samba. I read on a few forums that i needed a VPN connection but I don't know how to implement it. I do have a samba standalone setup (without any domain and i do not plan to have one in the nearest future) with a few shares. As i already said, the project concists of making some of those shares available trough the internet on another LAN. For better comprehension look at the scheme bellow. MyprivateLAN-------router1------SAMBASERVER----- router2---- INTERNET -----router3------ LANclient So the current setup concists of having shares between SAMBASERVER and MyprivateLAN trought router1 Thanks in advance, falcon5
This might help you: http://64.233.183.104/search?q=cach...+over+vpn&hl=en&ct=clnk&cd=7&client=firefox-a
thank you falko i could not make it work. I did try your howto (http://www.howtoforge.com/ubuntu6.06_firewall_gateway_p7) with the same disappointing result. does localip in pptpd correspond to eth0? do i have to put a syntax of ppp0 in /etc/network/interfaces?
VPN seems to work now with pptpd but still can't access samba anyone some ideas? Thanks in advance. I'll post compete config once finished
every router is in dmz so no firewall (and no software firewall is activated - with or without dmz it seems 137 and 139 get through...)is activated but i don't know how to tell to pptpd that it has to connect to samba or the other way round... logs below Sep 9 23:37:02 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=205 TOS=0x00 PREC=0x00 TTL=127 ID=3132 PROTO=UDP SPT=138 DPT=138 LEN=185 Sep 9 23:37:02 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=205 TOS=0x00 PREC=0x00 TTL=127 ID=3135 PROTO=UDP SPT=138 DPT=138 LEN=185 Sep 9 23:37:03 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=205 TOS=0x00 PREC=0x00 TTL=127 ID=3138 PROTO=UDP SPT=138 DPT=138 LEN=185 Sep 9 23:37:03 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3140 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:03 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=205 TOS=0x00 PREC=0x00 TTL=127 ID=3144 PROTO=UDP SPT=138 DPT=138 LEN=185 Sep 9 23:37:03 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3146 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:03 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3151 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:04 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=205 TOS=0x00 PREC=0x00 TTL=127 ID=3153 PROTO=UDP SPT=138 DPT=138 LEN=185 Sep 9 23:37:04 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3155 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:04 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3160 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:04 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=205 TOS=0x00 PREC=0x00 TTL=127 ID=3162 PROTO=UDP SPT=138 DPT=138 LEN=185 Sep 9 23:37:04 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3164 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:04 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3168 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:04 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3172 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:05 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3174 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:05 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3177 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:05 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3181 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:05 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3183 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:05 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3186 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:06 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3190 PROTO=UDP SPT=137 DPT=137 LEN=58 Sep 9 23:37:06 server kernel: IN=ppp0 OUT=eth0 SRC=192.168.5.234 DST=192.168.5.255 LEN=78 TOS=0x00 PREC=0x00 TTL=127 ID=3192 PROTO=UDP SPT=137 DPT=137 LEN=58