Networking :: Samba Client Shares Disconnect Over OpenVPN Connection

Jun 23, 2010

My network is barely functional. I'm running 2 linux servers connected by openvpn (tun) through routers on both sides. There are Windows clients (98 and XP) on both subnets. One server (ls3) acting as PDC for the domain. The Windows clients use the respective linux boxes as gateways. On the server side (ls3 which is both openvpn server and samba server), all the clients can read/write properly to shares on both sides. The problems are all on the client side. Share connections to the server side disconnect after a few moments.

Browsing on the client side windows machines is fine. I can see shares on the server side. Some server side files open and are readable, writable, other server side files will not open. Some samba logon scripts on the server side can be opened from the client side. Others open after a long wait to a blank file! Permissions on server side files are set to 777 for testing. If a file won't open or reads "blank", that doesn't change no matter how many times you try. A non-readable/writable file overwritten by a readable/writable one can be read and written to!

I can ping successfully from any client on either side to any other client by either ip address or workstation name. Firewalls on both side are set to forward tcp and udp traffic going to port 1194 to the respective gateway linux boxes. Iptables on both linux gateways are down for testing. I tried reversing the openvpn server/client roles with the same result; the same physical side of the network had the problem. On one of the windows 98 clients, I wiped out the networking configuration completely and rebuilt it from scratch. Same result.

One one of the windows xp clients, I tried to rejoin the domain. It went through successfully but the result was the same as above. The network was operating smoothly for several years until the client side dsl modem broke last week. It was replaced with a newer model and at the same time I migrated from a pptp connection to openvpn. How to resolve this, Is this something to do with openvpn? Is this a network hardware problem? Am I missing something in the port forwarding on the routers? My smb.conf files are ancient except I added interface tun0. I have never seen 2 files sitting next to each other in the same directory where one opens and the other doesn't!

I'm running Mandrake 9.2 on the client side and Mandriva 2008 on the server side. I have a Sonicwall firewall on the server side, a Westell 7500 on the client side. I note that during the modem install, the http port was opened to the linux box on the client side and the access log got huge over the weekend and I ran out of disk space until I closed it down and deleted the log. I tried a simple test while viewing /var/log/daemons/errors on the client side. From a windows workstation in the client subnet, I opened a dos window and tried to print a file located on the samba server on the openvpn server machine which I knew NOT to be problematic.

The file printed and there were no errors reported in the log. I repeated the test with a known problematic file. The file would not print. The errors log noted:
Authenticate/Decrypt packet error: packet HMAC authentication failed
I regenerated the static.key file on the server side and scp'd it to the client side and restarted both openvpn's. I checked for duplicate files named static.key on both sides. Same error.

View 1 Replies


ADVERTISEMENT

Networking :: Samba Client Accessing Windows Shares On Secondary Subnet

Sep 13, 2009

I have a machine acting as a gateway for a private network. While it can ping hosts on that private network, I can't use samba (smbclient or smbmount) to access shares on hosts on the private network from that machine. Other machines on the private network can access shares on other machines - just not the gateway server.

Here's how the gateway is configured:

When I try to connect to ports 139 or 445 (via smbclient or smbmount) the mount() system call times out. As I mentioned above, I can ping those hosts, so UDP packets work but TCP packets seem to get blocked or lost.

View 1 Replies View Related

CentOS 5 Server :: Openvpn Connect To Samba Share From Windows XP Client?

Sep 15, 2009

I'm trying to set up a VPN connection between our CentOS 5.3 server at work and my bosses XP computer at home. At this point, we are kinda locked into Quickbooks. I'm testing the connection from my XP boot at home to see if it works. I can log into our servicemanuals easily enough from XP at home however, the windows takes forever to update. I have the Samba server only listening on port 445 because is seems to work more efficiently at work. I connect to the Samba shares via linux from home and everything works well but, when I try to do anything with the shares from Windows client at home, it's very slow!

I'm thinking that it must have something either to do with the Windows OpenVPN client or the client.conf file. Is there anything I should look at in the .conf file for answers?

View 1 Replies View Related

Ubuntu Networking :: Network-manager-openvpn And Static-key OpenVPN Connection In 9.10

Apr 5, 2010

i have some problems with configuring openvpn tunnel connection to my openvpn server. I'm using static-key tcp connection. Network manager always said to me that connection could not be established. Also, when i try to run openvpn from terminal, i got some strange permissions problem:

Code:

openvpn --config config.ovpn
Mon Apr 5 15:48:37 2010 OpenVPN 2.1_rc19 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Oct 13 2009
Mon Apr 5 15:48:37 2010 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Apr 5 15:48:37 2010 /usr/sbin/openvpn-vulnkey -q moj.key

[code]....

View 1 Replies View Related

Software :: Gadmin-openvpn-client Won't Activate Connection / Fix It?

Jan 19, 2011

I can get a tunnel connected via terminal with: openvpn --config client.ovpn

However, when I tried to use the "friedly" gui (gadmin-openvpn-client), it keeps telling me to "import server certificates into client first."

I don't know what that means. Nor, do I see a tun device.

View 2 Replies View Related

Programming :: Timer In Socket Programming - Wait For X Sec After Read() And Then Disconnect The Client Connection

Mar 8, 2011

I have a server listening on incoming client connections. Once the client establishes SSL connection with the server, the server waits on read() from the client. Only Client can disconnect the connection. I want to have a timer in the server program to wait for x secs after read() and then disconnect the Client connection.

View 3 Replies View Related

Fedora Networking :: Connect The Network Where The Openvpn Client Is,throught The Computer With The Client To The Other Network?

May 20, 2009

I have the following problem:I have to networks in remote places.I have an opnvpn client in one network that connects to the the router (openvpn server).My question is,can i connect the network where the openvpn client is,throught the computer with the client to the other network.If yes,how? (please make it an idiot proof anwser because i have limited knowledge about iptables). I was thinking like forwarding (the router in the network with the openvpn client is also firewalling with iptables) the request of the ip class of the openvpn network to the computer with the client,which masquarades the interface

View 2 Replies View Related

General :: F14 - OpenVPN Disconnect Automatically After Login

Jan 15, 2011

I'm using openvpn under linux OS which is Fedora Core 14, in the folder "/etc/openvpn" i put 5 files which belongs to the network server that I should connect to, files are :
two files with the extension ".crt"
two files with the extension ".key"
one file with the extension ".conf"

Now, when I issue the following command (as root) :
Code:
/etc/init.d/openvpn start
It asks for my username & password to the network server, & after I entered the required authentication information, I successfully login, but I get disconnected automatically after two or three seconds.

- I connect to the network without any disconnection or problems under windows
- I use openvpn version "openvpn-2.1.1-2.fc13.i686"
- there was a bug in my OS "Fedora core 14" which is that I cannot activate or deactivate any ethernet cards, which solved by disabling NetworkManager in all run levels
- I disabled iptables
- I disabled selinux
- I got this error in /var/log/messages file when I disconnect from the openvpn network "

Jan 15 21:45:15 ViRuS openvpn[4143]: script failed: could not execute external program
Jan 15 21:45:15 ViRuS openvpn[4143]: Exiting
Jan 15 21:45:15 ViRuS avahi-daemon[1494]: Withdrawing workstation service for tun0.

- I couldn't find the file called "/etc/openvpn/update-resolv-conf"

View 4 Replies View Related

Ubuntu Networking :: Internet Connection Disconnect Itself

May 29, 2010

I tough that firefox was the problem of my very slow web sites loading, but I am suspecting that sometimes the internet connection is the reason, maybe for some reason that I don't know it can not just connect to the site.I am running Linux quick-desktop 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux.when I browse the web it is very slow to load.sometimes I get this error message.Could not locate remote server.Even I know the site is up running like google.

View 6 Replies View Related

Ubuntu Networking :: Wireless Connection Not Working After Disconnect It

Jan 9, 2010

I have a cisco linksys wireless adapter (WUSB600n) which, most of the time, great when booting up. But mostly after some time (1min- 1hr.) it disconnects. When checking the status I can see some of the networks around me, including mine. But selecting it doesn't do anything. I searched the forums and tried:

sudo dhclient
and
sudo /etc/init.d/networking restart

But still no connection; the only thing that helps is rebooting.

View 2 Replies View Related

Ubuntu Networking :: Wireless Connection Disconnect After 2 Hours Reboot?

Jul 20, 2010

do not post such long blocks of messages directly on the forums. Attach the output as .txt or use a pasetebin.

View 5 Replies View Related

Ubuntu Networking :: Wireless Network Connection Disconnect-reconnects Every 5 Min

Jul 31, 2010

I recently installed Ubuntu 10.04 on my Acer TravelMate 3270 notebook (with Windows 7 dual boot) for everyday use. All is great except i started to notice my Wireless Network get disconnected and then reconnects every 5 minutes or so. Also the NetworkManager Applet 0.8 keep annoying me with the notifications that its disconnected and then reconnected.

I do not have this issue while using Windows 7 (in the same area). Can this be fixed. As i really want to move my day to day computing need to Ubuntu.

View 1 Replies View Related

Fedora Networking :: OpenVPN Client Disconnects Me From LAN / Fix It?

Sep 15, 2009

This is the first one of probably many posts as I am new to Fedora having lots of questions. This one is about the openvpn client which is used by me to connect to my company network. Thanks to the Fedora FAQ it was easy for me to set up the client and establish a connection. There is just one problem every time I open a connection I am disconnected from my local Internet. I was using openvpn on my Windows XP PC before and there was no problem keeping two Network connections, the (W)LAN and the vpn tunnel. Does anyone know how to solve this? I am utilizing the latest Fedora 11 release and configured openvpn client via the Network Manager GUI.

View 2 Replies View Related

Ubuntu Networking :: OpenVPN Client Not Setting Up?

Oct 1, 2010

I am trying to connect to an existing VPN server that I have been using for years now. I am moving my develpment environment over to a Ubuntu box and I must have openvpn working in order to access SVN. It has been a few years since I have been setting up linux boxes. And networking is a soft spot for me. But

The server has been running without problem for a LONG time. A windows computer I have been using connects to it fine and I can access the network on this machine. I am setting up a new computer, but when trying to connect openvpn starts the initialization sequence completes but I cannot ping the network I am trying to connect to.

I use a second VPN connection to connect to an alternative network and it works fine. The difference between these two is that the working vpn connection is a routed IP tunnel and the one that is not working is a bridged connection.

The VPN that is working on this box brings up tun0 while the bridged connection connects but does not bring up a network tun device. The server logs look normal, it just looks like the client is not setting itself up to use the network once connected. (The key/cert pair work find when on a windows box) Just not on this new ubuntu build.

My current client config

Quote:

cert eric@home.crt
key eric@home.key
client
dev tap

[Code]....

The server is using tap, as well as the working windows client uses "dev tap"

It has been a long time since I have been maintaining linux boxes but its coming back slowly.

Do I have to bring a device up manually ?

View 6 Replies View Related

Networking :: Openvpn Client Not Showing Up In Arp Table?

Mar 3, 2010

I have a ubuntu 9.10 box that is acting as my firewall. ETH0 is connected to a cable router and my eth1 nats out it. I have br0 bridged to eth1 (private). I am able to ping from my openvpn client into my network but not from a boxon my local network to the openvpn client I watched the firewall and nothing is being blocked on any device. I checked the arp table on my firewall and it does not know about my vpn clients. Any idea's why my vpn clients are not adding themselves to the arp table?

View 2 Replies View Related

Networking :: OpenVPN - Establish VPN Between A Client And Server On The Same LAN

Feb 4, 2010

Running Linux Fedora 10 on an Intel Core 2 Duo PC. Runs great. We are trying establish VPN between a client and server on the same LAN. The network is a standard fast ethernet, run great. We are trying to install OpenVPN server, but having a little difficulty. Key and certificate builds seem to execute without a problem. But when we try to start the service we get [FAILED]. I've attached a copy of our procedure.

View 1 Replies View Related

Networking :: Openvpn Connection - Can Not Ping When Connection Established

May 8, 2010

I have problem in making connection to my vpn server I can make connection from windows xp to that but can not open any website and I can not ping 172.16.10.1 when connection established.

These are my configuration files:

server config file:

Quote:

client configuration file:

Quote:

And this is my server syslog tailed file:

Quote:

And I added this routing to /etc/rc.d:

Quote:

And this is my iptable:

Quote:

And vpn connection is lost after establishing a lot.

View 4 Replies View Related

Ubuntu Networking :: Upgrade To 10.04 - Wireless Connection Is Unstable - Randomly Disconnect ?

May 2, 2010

Since I upgrade to Ubuntu 10.04 my wireless connection is very unstable. I install the needed wireless drivers from 'Hardware Drivers' (Broadcom STA wireless driver) and I got wireless connection, but it randomly disconnect, and also connection is very slow.

I think that the problem are the drivers which are not very compatible with this version of Ubuntu, which means we need to wait for update? I have HP ProBook 4510s laptop, Intel PRO/Wireless 5100 AGN network card & Gembird NSW-R2 router. I'm only having this problem on Ubuntu 10.04, on other OS's the internet is fine.

View 7 Replies View Related

Ubuntu Networking :: OpenVPN Server And Client At Same Time?

Oct 26, 2010

I have an Ubuntu server that is currently running Ubuntu 8.10. I was thinking of making it a VPN server for my iPhone and also for my laptop whenever I'm outside and need to access internet over insecure wireless networks. Now that part should be easy I found several guides on how to configure OpenVPN server, as well as enabling clients on iPhone, and OSX.

However, the things is that my server is currently a OpenVPN client also, I have a paid tunnel set up to bypass my ISP blocking incoming traffic on various ports. Is it possible to keep this setting but still enabling a VPN server? Essentially causing traffic from my external device to go in through my tunnel to the VPN server, and then out through the external VPN provider.

View 2 Replies View Related

Networking :: Get Bandwidth Speed Info Between OpenVPN AS And Its Client?

Mar 11, 2010

is there any tools that I can use to get bandwidth speed info between OpenVPN AS and its client?

View 3 Replies View Related

Fedora Networking :: OpenVPN Client - How To Access Internal Ressources

Sep 26, 2009

I'm using Fedora Core 11 and the client OpenVPN on the network-manager into a segmented infrastructure. It works well.

My laptop is on a dmz wireless Zone 192.168.3.0/24 and access Internet through a firewall via a front-end zone 192.168.65.0/24 with wlan0 interface.

But my laptop can access on a back-end zone 192.168.2.0.24 to a server.

When I start the OpenVPN tunnel, I cannot access on my back-end zone because the kernel routing table is modified (all the traffic is routed through the tun vpn interface)

If I define a static route like route add -host 192.168.2.x gw 192.168.3.2 where x is my file serveur, I cannot connect to this server because the routing is make through the tun interface and not by the wlan0 who can access on is gateway

I want to know where changing the kernel routing table file to access on the Internet and on my back-end zone in a same time.

View 4 Replies View Related

Ubuntu Networking :: 9.10 - OpenVPN Client Fails (Error Status 7)

Jan 9, 2010

I have openvpn server configured with bridged interface on my openwrt router. The client is running ubuntu 9.10 with config:

Client
dev tap
proto udp
remote x.x.x.x 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /home/blwegrzyn/openvpn/ca.crt
cert /home/blwegrzyn/openvpn/client1.crt
key /home/blwegrzyn/openvpn/client1.key
comp-lzo
verb 5
(x.x.x.x was hidden)

When the client connects the log says:
WRRRWRSat Jan 9 20:16:03 2010 us=332404 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway,dhcp-option DNS 192.168.1.241,route-gateway 192.168.1.254,ping 10,ping-restart 120' .....
Sat Jan 9 20:16:03 2010 us=343906 ERROR: Linux route add command failed: external program exited with error status: 7

The server is trying to push default gateway 192.168.1.254 to the client and the client is on 192.168.2.0 network as you can see the route addition fails with SIOCADDRT: No such process. This is because the tap interface does not have any ip and the route addition is not possible. The tap interface is not getting the dhcp address through the tunnel, not sure why (this works on XP). To fix the problem I must manually add the ip to the tap interface, and the default gateway, but then i must add dhcp server to resolv.conf to make it work and once I disconnect the computer does not know the old valid dhcp anymore and cannot communicate. Why openvpn cannot get the ip automatically? Why it cannot grab the dhcp from the tunnel? Is it related to the wireless card being managed by the network manager? This works perfect on windows machine (xp sp3).

View 3 Replies View Related

Ubuntu Networking :: OpenVPN Client No Buffer Space Available (code=105)?

Jan 26, 2010

I'm using OpenVPN 2.1 on Ubuntu 8.10 to connect to LAN behind an IPCOP server. Everything works fine except when I move across the tunnel files which are over 180kb, then I get UDPv4 []: No buffer space available (code=105 surfing the Internet I've found post that suggest to increase these settings on the kernel

> sysctl -w net.core.rmem-max=8388608
> sysctl -w net.core.wmem-max=8388608
> sysctl -w net.core.rmem-default=65536
> sysctl -w net.core.wmem-default=65536

those have actually made a small difference, but not enough for uploading even an image over http. I guess that I can keep increasing those values till I'm not satisfied, but as I'm not sure on what I am dealing with, can anyone tell me if there's a rule of thumb? My machine is a laptop with a dual core processor and 2GB ram.

View 1 Replies View Related

Networking :: Login Multiple Client Pc On Using Via Openvpn Server From That Side?

Nov 24, 2010

How to login multiple client pc on the same network using via openvpn server from client side

View 1 Replies View Related

General :: Administration - Managing SAMBA Shares And Giving User Specific Access For The Shares

Jul 28, 2010

I am working as a Linux administrator in a very small data centre with 5 servers with following routine tasks.

1. Managing SAMBA shares and giving user specific access for the shares.
2. Scheduling backup of some mount points with rsycn to store data in remote hard disk
3. User and group administration, with sudo access.
4. Creating and Managing Xen Virtual machines and giving access to other project teams.
5. Automating some tasks with Shell Scripting.
6. Managing FTP server for user uploads.

I have practiced a lot in my home laptop without RHEL training, Cleared RHCE and LPIC1. I want to do some advanced system admin tasks, but do not have option in my current data centre. With Above skills is it possible to get a job ?

View 9 Replies View Related

Fedora Networking :: Mounting NFS Shares Crashes Client?

Feb 27, 2010

I'm trying to mount an NFS share from my Gentoo computer on my FC12 laptop, but every time I try to mount the share my laptop completely crashes. The end result is that I have an unresponsive laptop which switches from X to a blank screen and I'm unable to switch to any VT's or reset X. I never had any issues with my laptop freezing like this when I had Gentoo on it, but I'm giving FC a shot.

Server:
NFS version: 3
Code:
$ cat /etc/exports
# /etc/exports: NFS file systems being exported. See exports(5).
/mnt/OSX192.168.*.*(async,rw,no_root_squash,no_subtree_check)
Running rpcinfo on the server (command run from client)

[Code]...

Anyone recognize these symptoms or know which log files to look in to begin diagnosing? Currently, I'm only able to transfer files via ssh, so I'd like to be able to do that properly.

View 1 Replies View Related

Networking :: OpenVPN - Can't Ping From Server To Client Side Hosts / Make It Possible?

Mar 20, 2009

Code...

What I can ping
Host A -> Host B
Host B -> Host A

Host A -> Router B
Host B -> Router A

Host A -> OpenVPN B
Host B -> OpenVPN A

VPN Server -> VPN Client
VPN Client -> VPN Server

What I can't ping
VPN Server to any client side host local address
VPN Client to any server side host local address

I have searched and searched for this but can not find any answers. Why can I not ping Host B from my OpenVPN server?

View 1 Replies View Related

Networking :: Unable To Ping Host From OpenVPN Client After Port 22 Denied

Mar 28, 2010

After I applied below iptables rule.. I am unable to ping the host in 172.16.1.0/24 from OpenVPN client

View 1 Replies View Related

Networking :: Windows Client Browser Doesn't Show Shares / What To See?

Mar 25, 2011

I also am having this problem so any help would be appreciated.

Personally, I don't know if I have anything set up correctly. That would be something I need guidance on if anyone can offer some.

View 3 Replies View Related

Ubuntu Networking :: 10.04 Can't See Shares On 9.10 Samba Server?

May 10, 2010

I have an Ubuntu 9.10 Samba file server. I have set up Ubuntu 10.04 netbook remix in a home network which also has Windows XP home and Vista computers already present in the network. The XP and Vista machines have no problem accessing the file shares.

The server is running mhddfs with FlexRaid. The security is set to share level access. I have a hosts allow line in the smb.conf file to permit access to certain IP addresses and have added the 10.04 netbook remix IP address to this hosts allow line.

I cannot access shares from the 10.04netbook remix machine if the hosts allow line is active, but have no problem from the windows machines. If i comment out the hosts allow line, all machines can access the share, including the netbook remix machine. I am fairly new to Linux and would appreciate any help in solving this problem.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved