Ubuntu Servers :: OpenVPN Local Devices Not Accessible

Nov 26, 2010

I've setup openVPN using bridging following these guides

[URL]

I'm running Ubuntu Server 10.10 My clients can connect and get their own IP within my ip range (192.168.1.x) They can ping each other and I've tested I can use the connection a lan game and a windows RDP connection. The problem is I cannot access any of the actual local network devices except the vpnServer. Is their something else that needs to be done to allow full network access?

View 5 Replies


ADVERTISEMENT

Debian Configuration :: OpenVPN And IPTables - No Local Hostnames Accessible

Feb 7, 2016

I managed to set up an openvpn server, ip-forwarding and a nat iptable rule for that.

Almost everything works as expected, but my problem is:

Smartphone -> VPN -> Internet ==> works (by ip and hostname)
Smartphone -> VPN -> machine in my local network by IP ==> works
Smartphone -> VPN -> machine in my local network by its hostname => DOES NOT WORK
Machine w/ VPN server -> ping to machine in local network by ip or hostname => works

So, i wonder why i cant access a local machine through the vpn by its hostname. I guess I'm missing a forwarding rule??

iptables dump:
# Generated by iptables-save v1.4.21 on Sun Feb 7 20:56:52 2016
*nat
:PREROUTING ACCEPT [786:59064]
:INPUT ACCEPT [728:53047]
:OUTPUT ACCEPT [19:1487]
:POSTROUTING ACCEPT [20:1576]
-A POSTROUTING -s 10.8.0.0/24 -j MASQUERADE
COMMIT
# Completed on Sun Feb 7 20:56:52 2016

View 0 Replies View Related

Fedora Servers :: OpenVPN - Socket Bind Failed On Local Address

May 4, 2011

I finally got the certs to configure:
openvpn --config server.conf
Tue May 3 17:26:27 2011 OpenVPN 2.1.1 i686-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Jan 5 2010
Tue May 3 17:26:27 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 3 17:26:27 2011 Diffie-Hellman initialized with 1024 bit key
Tue May 3 17:26:27 2011 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue May 3 17:26:27 2011 ROUTE default_gateway=192.168.122.1
Tue May 3 17:26:27 2011 TUN/TAP device tun0 opened
Tue May 3 17:26:27 2011 TUN/TAP TX queue length set to 100
Tue May 3 17:26:27 2011 /sbin/ip link set dev tun0 up mtu 1500
Tue May 3 17:26:27 2011 /sbin/ip addr add dev tun0 local 10.8.0.1 peer 10.8.0.2
Tue May 3 17:26:27 2011 /sbin/ip route add 10.8.0.0/24 via 10.8.0.2
Tue May 3 17:26:27 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue May 3 17:26:27 2011 Socket Buffers: R=[114688->131072] S=[114688->131072]
Tue May 3 17:26:27 2011 UDPv4 link local (bound): [undef]:1194
Tue May 3 17:26:27 2011 UDPv4 link remote: [undef]
Tue May 3 17:26:27 2011 MULTI: multi_init called, r=256 v=256
Tue May 3 17:26:27 2011 IFCONFIG POOL: base=10.8.0.4 size=62
Tue May 3 17:26:27 2011 IFCONFIG POOL LIST
Tue May 3 17:26:27 2011 Initialization Sequence Completed

But openvpn still won't start; where to go from here.
Tue May 3 17:54:25 2011 TCP/UDP: Socket bind failed on local address 192.168.122.3:1194: Address already in use
Tue May 3 17:54:25 2011 Exiting

View 3 Replies View Related

Ubuntu Networking :: Can See All Devices On Local Network And Their Local Ip Addresses

May 16, 2010

I'd like a way to see all of the devices on my local network and what their local IP address is. I recall that I used wireshark to troubleshoot a similar problem a while back, but it doesn't seem to have a way to see all of the devices- only the traffic. (I'd like to do this without having to physically interface with my router if possible, and I am in an encrypted network if that matters)

View 6 Replies View Related

Ubuntu Networking :: Web Server Only Accessible By Local Network

Nov 3, 2010

I just setup a ubuntu 10.10 box learn linux and to play around with, and want it to host my website. I can see the web site on my local network no problem but the outside world gets a time out message. I check to make sure everything is forwarded correctly on my router and the dns so i has to be something in ubuntu blocking out-of-network traffic how do i turn port 80 on to the outside world

View 4 Replies View Related

Networking :: Get A Subdomain Accessible Outside The Local Network?

Jul 25, 2011

I have a subdomain called www3 and I cant see it outside of our network. It's added in vhosts.conf in /etc/httpd/conf.d, and I can access it through [URL], but only when on vpn.

We have another www2 that is both local AND outside the vpn. I am testing the site live and need access to it. Is there another file besides vhosts.conf that I need to add the ssubdomain in? Here's what I added in my vhosts.conf

Code:

<VirtualHost *:80>
ServerName www2.mydomain.com
ServerAlias www2.internal www2

[code]....

View 7 Replies View Related

Ubuntu Networking :: Local Machine Is Not Accessible From Out Side World

Jul 30, 2010

I m using the pc as gateway....i have two NICs:1) 10.6.15.254 ---> for internal network 10.6.15.02) 10.6.0.115 -----> for out side world I can ping and ssh any out side machine but when i try to ping or ssh any machine in the 10.6.15.0 network it says host unreachable.... i can ping and ssh gateway i.e. 10.6.15.254 and 10.6.0.115 but not the client machine in the 10.6.15.0 network from out side world even i flush iptable rules i can not access any client machine i m using ubuntu 10.04 as operating system..

View 2 Replies View Related

General :: Make Local Web Page Accessible From Internet?

Dec 23, 2010

On computer, I have apache server, configured at port 80, running. In local network, web page is accessible by my local IP (192...). Although, when I want to get to the page from the internet, I don't know right ip address, since router's one should be local, and also, router has it's own web page running at port 80. So I guessed that my server IP would be modem's one, which I don't know. Sometime in past, I figured out address of modem too, but it has it's own application running. Also, router supports port forwarding (which I guess, is needed), but I don't know how to get using to it. what address from internet should I have? How should I determine it?

View 8 Replies View Related

Debian Configuration :: How To Configure OpenVPN To See Local Network

Feb 11, 2016

I will see ipcam in my local network from my tablets. I'm install server/client but I can't even ping my Ipcam from my tablet.I'm ping my ipcam from my server

Code: Select allping 10.42.0.22
PING 10.42.0.22 (10.42.0.22) 56(84) bytes of data.
64 bytes from 10.42.0.22: icmp_seq=1 ttl=64 time=0.639 ms

eth1:1    Link encap:Ethernet  HWaddr 00:25:22:1c:6e:05 
          inet addr:10.42.0.1  Bcast:10.42.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          inet addr:10.42.0.1  P-t-P:10.42.0.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:1775 errors:0 dropped:0 overruns:0 frame:0
         
[code]...

my tablet can receive ip, can see ftp on server but can't see anything in my home network.

View 3 Replies View Related

Ubuntu Networking :: DNS - Local Devices Name Resolution?

May 30, 2010

In my home network, My Ubuntu 10.04 LTS (fully up to date) is having trouble being able to ping other computers by their computer names instead of by their IP#s. I've checked over the settings of the router (D-Link that provides wired and wireless connectivity, DNS, Gateway, etc.) and I'm pretty sure it is set correctly. My Ubuntu system is a dual-boot (Ubuntu and XP), the other computers are all XP except for one which is running Windows 2000 Pro. All the other computers are able to ping each other by name, and can ping this one by name when it's in XP or when it's in Ubuntu.

But this computer (when in Ubuntu) cannot seem to ping the other computers by name. Some it can be pinged by name from the Ubuntu system if I include the .local to the name, but others do not. I have checked and compared the network settings on each of the computers to make sure they were set identically (only the computer name is different). All of the XP systems are DHCP configured, The Win2000 is set static and is also reserved at the router. NONE of them have any of the computers listed in a hosts file. I want to avoid editing hosts files if I can.

There are seven computers in all. Only the Ubuntu has difficulty pinging other computers by name. What should I check? What can I set? I would like to know what it is that I'm missing.

View 1 Replies View Related

Ubuntu :: Is Remote Development Over VNC Using Local Devices Possible

May 12, 2011

I'm looking to convert my HTPC into a remote android dev server for my girlfriend and myself, however I want to make sure that it is possible to do what I am looking to do.Is it possible to map local devices to the VNC server (such as an android phone) so that we can work on development over VNC with phones we have on our client computers? I know its a trivial matter to map local drives over VNC, but what about non-HD devices, can I still maintain full functionality as if the device itself was plugged directly into the server?'ll be installing ubuntu again this weekend, never got around to it after my last HD failure.

View 1 Replies View Related

Ubuntu Servers :: Local Users Are Sending Mails Through Ms Outlook Using Local IP?

Jul 26, 2011

I have a postfix mail server on ubuntu 10.04 lts behind a router. so all local users are fetching/sending mails through ms outlook using local IP. Sometimes when internet goes down and any mail send then it bounced back immediately saying domain not found. Can u please tell me how i configure to hold all mails in postfix server rather than bounce when internet fails and will pass through when restored the internet around 15-30 minutes?

View 2 Replies View Related

Ubuntu Networking :: Cannot Access Web-config Pages Of Local NAS Devices?

Jan 25, 2010

Up until yesterday I was able to access these devices through the web interfaces that they use. I'm running Ubuntu Karmic 9.10 I have 3 PCs running on my network, and 2 NAS devices: Ubuntu (main computer, also has an XP partition)) - static IP 192.168.1.30 Ubuntu netbook - DHCP IP Windows XP (HTPC) - static 192.168.1.50 Linksys NSLU2 (was running Debian, problem arose when trying different configuration, now back to stock firmware) - static IP 192.168.1.100 Dlink DSM-G600 - static IP 192.168.1.120

I used to be able to able access these just fine using my main Ubuntu setup. Now, it will no longer display the pages. Internet access is fine, i can even access my DSL/Router device's internal config page. The netbook and the Windows HTPC can both log into these devices, as well as the XP partition of the Ubuntu system. I have tried using a VM of XP within Ubuntu, bridging the network device, i have the same symptoms - internet is fine, cannot access local network web-logins.

Access to fileshares among all machines remains unchanged. another odd behavior is that i can SSH into the NSLU2 device from all the machines, but i get odd things from this computer - it will let me log in, asks for a username and pass, but if i run anything like mc or htop, it just blanks the terminal in an odd way. from other computers the login and display are fine.

[Code]...

View 3 Replies View Related

Ubuntu Servers :: Apache2 Not Accessible From LAN

Apr 1, 2011

I have a problem with apache server. The thing is - I can connect to my server on localhost, but when I try to connect from local network, it doesn't reply.

I can ping my web server from lan. I can ssh my web server from lan.

I haven't modified iptables since install except these commands>

Code:
iptables -A INPUT -p tcp -s 0/0 --sport 1024:65535 -d $MY_SERVER_IP --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p tcp -s $MY_SERVER_IP --sport 80 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT

[Code].....

View 1 Replies View Related

Ubuntu Servers :: Apache -> Squirrelmail Not Accessible From Internet

May 4, 2010

I set up a mail server today. Everything works except I can't access the damn squirrelmail web interface from the internet.

I followed this guide here: [URL]

I can access http://192.168.0.50/squirrelmail just fine from a computer on my local network.

*BUT*

When I access http://mywanip/squirrelmail, i get a connection timeout.

When I access http://mywanip, I get the standard Apache "IT WORKS!" Page. (Rules out port forwarding)

According to the guide, that should allow me to access squirrelmail from the internet on my server. Its as if Squirrelmail is only available on my local interface and not on my wan interface? How do I check?

View 5 Replies View Related

Ubuntu Servers :: LAN Website Not Accessible From Any Windows LAN Browsers?

Jan 12, 2011

I have a website on a standalone Ubuntu server (using virtual host). I can access the site from 3 different Macs using Safari, Firefox and Chrome. I can access the site from my Mac using virtual Windows XP Pro in VirtualBox. But I cannot access the site from any Windows machine on the LAN, and it's frustrating I cannot get to it with name resolution nor with IP address.Here are some of my related configs:

In sites-available (also in sites-enabled)
mywebsite.conf
<VirtualHost *:80>
DocumentRoot /var/www/mywebsite
ServerName mywebsite
ServerAlias *mywebsite
Directory /var/www/mywebsite
</VirtualHost>

[Code]...

Does anyone know why I can get my site on Macs, but not Windows?

View 9 Replies View Related

Ubuntu Servers :: Nagios - Disk Critical And GVFS Not Accessible

Jul 21, 2010

I need to set Nagios and permissions. I get one critical error in Nagios regarding disk. It says:
DISK CRITICAL - /home/administrator/.gvfs is not accessible: Permission denied
I guess Nagios need a permission to access the administrator folder. How can I set up a permission to fix this error?

View 6 Replies View Related

Ubuntu Servers :: Couple Of Samba Shares Not Accessible From Windows?

Jan 28, 2011

I am running Ubuntu 10.10 and have 5 shares that I have setup for Samba (assume names of share1, ..., share5). I find that shares(2,3,4) are accessible from my MS Windows system, but the share1 and share5 are listed but Windows gives an error accessing them that I may not have permissions.I have reviewed the sharesve the same owner, group, and permissions.Is this a known Samba bug or configuration issue? I have gone through the smb.conf file multiple times as well as examining the directories and do not see what the issue might be.

View 9 Replies View Related

Ubuntu Servers :: Default Samba Configuration Not Accessible From Windows?

Sep 1, 2011

I have recently done a fresh install of Ubuntu 11.04 Server (64-bit). I selected Samba during installation, but a subsequent

Code:
# apt-get install
installed some additional packages. I have been using my actual smb.conf file as well as

[code]...

View 7 Replies View Related

Fedora Servers :: Samba Shares Not Accessible?

Jan 5, 2009

I'm having some troubles with my samba shares on a fresh install of Fedora 10 x86_64 on my laptop. The laptop has only the KDE Desktop environment. I'm trying to share between this computer and my homebrew server via a wrt54g linksys router running DD-WRT firmware. The server is running Fedora 9 i386.

The shares on the server can be read by the laptop, and I have been consistently able to mount the server shares on the laptop using mount.cifs, but only when the firewall on the server is down. Shares are only visible between the machines when the firewall is down on the machine containing the share. I set up the shares using the system-config-samba tool, and the firewalls are both set to allow samba server and samba client. I can typically see the laptop from the server, but not the shares, and only when the laptop firewall is disabled. I can access the Laptop shares from the laptop. When trying to mount the laptop shares on the server, a warning message stating that the mount failed appears. Shares show up as correct in both the system-config-samba tool, and the KDE sharing tools. The share shows a "shared" icon in the dolphin browser.

From all that I know, the shares should work perfectly. I've searched the web, perused the man pages and how-to's, and combed through the forums, and everything I've found tells me that the shares should be working. Since they are not working, it leads me to believe that I must have made a mistake someone and not noticed it.

View 8 Replies View Related

Fedora Servers :: BInd DNS Server Not Accessible To Other?

Sep 22, 2009

I am working on fedora 10 and configured dns on my college lan which already has it's dns at 192.168.5.20 .So i configured my private dns server at 192.168.101.91 which is my ip too.And the domain name is the host name of my system for example server.onkie.com.MY dns port 53 is shown when i do nmap localhost but but doesnt show when i do nmap 192.168.101.91 .Also when tested my server on other computers on my lan with there primary dns as 192.168.5.20 and secondary as 192.168.101.91 they cant access my site at my system with the name [URL].. . nmap localhost

Starting Nmap 5.00 ( http://nmap.org ) at 2009-09-22 21:24 IST
Interesting ports on onkar (127.0.0.1):
Not shown: 993 closed ports
PORT STATE SERVICE
22/tcp open ssh
53/tcp open domain ----the dns is running

[Code]...

I already disabled my selinux and iptables ..but then also it's not accessible in Lan .

View 1 Replies View Related

Fedora Servers :: Samba On 15 - Network Is Not Accessible

Jul 26, 2011

I have been trying to set up a small file server on Fedora 15 using Samba. When I try to connect from WindowsXP it says the network is not accessible. I have tried to make multiple changes to the settings but to no avail.

View 1 Replies View Related

Ubuntu Servers :: Server Share Accessible From Both, Windows An Mac, Readable And Writeable?

Jan 5, 2010

We have about four workstations and a server. What we need is authenticating with the server, and when you log on, you should see your own desktip and documents idnependent on which workstation you use. Could this be solved by placing the user's home on a server share?We also need a server share accessible from both Linux, Windows an Mac, readable and writeable, as some prefers to bring their laptops to the office.I've read a little bit about terminal servers, but using the workstations as thin clients sounds like a waste, as they're just as powerful as the server. "Fat" clients sounds better,

View 9 Replies View Related

Fedora Servers :: Share Files Between Two 14 Systems - Accessible Via NFS ?

Feb 2, 2011

I'd like to share files between two Fedora 14 systems, but I'm having difficulty with making a share accessible via NFS.

Here's what I've tried so far:

Tried following mount commands:

Password:

Unable to find suitable address.

Used both the user and root password with this second mount command.

View 7 Replies View Related

Ubuntu Servers :: Openvpn Can't Get Permissions To Key

Mar 10, 2010

Trying to set up a VPN on my seedbox. I get an error when I try to start it.

I followed this guide: [URL]

Here is my server.conf:

Code:
#################################################
# Sample OpenVPN 2.0 config file for #
# multi-client server. #
# #

[Code].....

View 7 Replies View Related

Ubuntu Servers :: Setting Up Openvpn 10.4

Jul 21, 2010

I am following this guide on setting up an Openvpn but having a little issue with permission denied.

I am at this step 'Initialize the Public Key Infrastructure (PKI)'

Code:
cd /etc/openvpn/easy-rsa/2.0/
. /etc/openvpn/easy-rsa/2.0/vars
. /etc/openvpn/easy-rsa/2.0/clean-all

[Code]....

View 8 Replies View Related

Ubuntu Servers :: OpenVPN - Trying To Get Br0 Interfaces To Come Up?

Aug 5, 2010

I'm trying to get OpenVPN working but when I try to bring my br0 interface up it gives me an error.The below messages is from when I run

Code:

/etc/init.d/networking restart

Code:

root@server:/etc/openvpn# /etc/init.d/networking restart
* Reconfiguring network interfaces... ssh stop/waiting
ssh start/running, process 28263

[code]...

View 4 Replies View Related

Server :: OpenVPN And Local Computers \ Cant Make A //server/SHARED?

Jul 6, 2010

i just one to emulate the windows 2003 - windows XP easy VPN deployment, with my ubuntu server.I got my server side (ubuntu) and client side ( openVPN gui) and everything looks okbut now, i cant make a //server/SHARED and get from my house to the office's docs, despite the conection its ok... whats wrong?

View 14 Replies View Related

Ubuntu Servers :: OpenVPN Slow When Windows Is Used ?

May 16, 2010

I have many openvpn implementations. Every time I use windows shares over openvpn, the speed is no more than 500KB/s, in LAN environment. When I start a copy it reaches 200-300KB/s, when I start second one it reaches 500KB/s. No more is reached after more copies simultaneously. When I use linux to copy files - the first copy reaches 700KB/s, the second copy reaches 2.5MB/s (then the first grows also to 2.5MB/s), the third copy reaches also 2.5MB/s. All of these are copied simultaneously, otherwise when only one is started it sits on 700KB/s. Moreover when 2 of the 3 simultaneous copy processes end, the one left backs at 700KB/s again.

But this is linux. When I use Windows the transfer speed is no more than 400-500KB/s (LAN environment).
The OpenVPN server is always ubuntu (any version - I've tried 6.06, 8.04, 10.04).

Tried the OpenVPN client in ubuntu (and the windows machine behind the ubuntu), in windows (directly installed the client on windows) and it is all the same - no more than 500KB/s.

I can not use this because it is so slooow. When only one file is copied at a time it reaches only 200KB/s!!! Searched all the google results - no one have an answer, although there are many people with the same problem.

Now, I am sure that the problem is in Windows, because when I use linux as a server and as a client, the client copies fast. But when I use windows as machine behind the client it copies slow. I don't know... something in the tcp/ip settings in windows or something...

View 9 Replies View Related

Ubuntu Servers :: OpenVPN: Routing Versus Bridging

Apr 21, 2010

Just curious to see what everyone's opinion on using routing vs. bridging for openVPN. I'm installing openVPN on a linux box that I'm using as a router. What I was wondering was your opinions on which one of these two options to use.

View 2 Replies View Related







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