Server :: Creating A VPN Using Lenny With A Single NIC

Aug 18, 2010

I want to create a VPN server using my Linux box that is running Lenny. I've googled and googled and tryed and tryed, and I havent been able to find something that will help me get it going. The server that I am running at the moment does not have a desktop installed as I don't need one. I access it through SSH.

So scenario that I have got and I want to incorperate is this:

I have a ADSL2 router that I want to port forward to my VPN server, and my VPN server has 1 physical NIC and a logical that I have pre-configured (Sub interface) thats on a different network. so this is what the IP configuration is:

192.168.0.1 (Router/Gateway)
192.168.0.254 (Linux Box/Proposed VPN server/eth1)
192.168.1.254 (Linux Box/Proposed VPN server/eth1:1)
192.168.1.253 (Windows Server that I can remote access to through the VPN)

I've looked at a few daemons that are available online for Linux. But I just can't figure out how to set it up properly. Perhaps someone who knows the best practices and pracedures when it comes to VPN with Linux that can pass there wisdom to me so I can note this down and keep it for later on.

View 5 Replies


ADVERTISEMENT

General :: Single Application Through OpenVPN Tunnel (Debian Lenny)?

Jan 25, 2010

I'm using Debian Lenny and I want to tunnel rtorrent only through a OpenVPN tunnel. I have a tunnel running, the config file looks like this:

client
dev tun
proto udp
remote openvpn.xxx.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun

[Code]...

My idea is that I could run a sockd proxy internally that redirects traffic to the openvpn tunnel. I could use the *nix "proxifier" application "tsocks" to make it possible for rtorrent to connect through that proxy (as rtorrent doesn't support proxies). I have trouble configuring sockd as my IP inside the VPN changes every time I connect. This is a config file someone said would help:[URl].. As my IP changes at each connect I don't know what to put in that config file. I have no control over the host side config file.

View 1 Replies View Related

General :: Creating User With Password In Single Command?

Jan 16, 2010

I'm trying to create a user john with default password 'abcdef'. I used the following command.

useradd john -p abcdef

I can't login with the password. in /etc/shadow file I can see the password in clear text format. how I can create a user along with password.

View 3 Replies View Related

Programming :: Connect Multiple Sockets From A Single Client To A Single Server And Keep Them Open?

Oct 13, 2010

I have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?

View 1 Replies View Related

Server :: Error - NFS Share On A Debian Lenny Server With To Network Interface

Mar 16, 2010

I am running a NFS share on a Debian Lenny server with to network interface.

Sometimes when booting the server the following messages i shown in syslog:

Code:

If the system is rebooted then NFS is functional again. I would like to know way this happens somtimes so i can repair it, anyone with an idea? Another thing is that i would like to bind the NFS service to a specific interface e.g eth1 is this possible?

View 2 Replies View Related

Server :: IOPS On Multiple Server Single Mount Point System?

May 28, 2010

In my production setup, i have 3 servers using the same mount point. However, i see that the IOPS is low. Does this kind of architecture have any impact on IOPS. In case it is neutral, how can i tune my setup for better IOPS.

View 1 Replies View Related

Server :: Single Wildcard Certificate For Apache Httpd Server And Tomcat?

Feb 10, 2010

I have a requirement of using a wildcard certificate for 5 subdomains running under apache httpd server and 1 subdomain under tomcat.Is there any possibility of using the single wildcard certificate both in tomcat and apache

View 3 Replies View Related

Server :: Convert Single Drive Ubuntu Server To RAID 0

May 28, 2010

I am running single drive Ubuntu server 9.10 with a lot of software. Now I want to add one more disk (same size and type) and to convert this to RAID 0 without need of reinsallation. Is it possible and if yes how? I didn't find nothing for RAID 0. It sounds simple, but probably is not.

View 4 Replies View Related

CentOS 5 Server :: Single Sign-on (SSO) Server Install?

Mar 4, 2010

Does anybody have any documentation or can assist with any sort of steps on how to install a SSO server on Centos 5.4.We have just over 150 Centos servers country wide and we would like to implement an SSO server to manage the users and their login credentials locally and centrally.

View 1 Replies View Related

General :: Debian Lenny : How To Install Xfce 4.6 Instead Of Lenny's 4.4

Dec 14, 2009

i was trying to use gnome and kde but i don't like them. I tried xfce and it seem to fit my needs but.My computer is used to be powered on for a weeks. While time passes, a process xfdesktop begin to use more and more memory and to free RAM i need to log out and log in again.

I tried squeeze yesterday on my virtual machine and it has 4.6 and seem not to have that bug, RAM usage is static(yes it still works when i write this and have memory usage 34492k, which is not changing for an hours of usage already), also 4.6 is MUCH better than 4.4.

i already tried adding squeeze to "sources.list" but i can see too many dependencies which should be upgraded if i install 4.6, i'm beginning to afraid it can crash entire GUI(or entire system, i can see there is libc6 required to be updated).

View 14 Replies View Related

Debian :: Can't Connect Via SSH Using Lenny As Server

Jan 25, 2011

I am very new to Debian coming from CentOS.I am setting up a server for a customer.I can't SSH to it nor can I get to the port for the 3ware Disk Admin.I can PING the server and I can PING yahoo from the server.

View 6 Replies View Related

Server :: Setup A DNS Using Debian Lenny?

Jan 3, 2010

I'm attempting to set up a DNS server using Debian Lenny. I followed the instructions on this page:

[URL]

and it's not resolving domain names.

View 14 Replies View Related

Debian :: Mysql-server Not Installing On Lenny

Jan 10, 2010

I have been fighting with this for days. I upgraded from etch to lenny. I tried installing mysql-5.1. I have uninstalled, reinstalled, updated, upgraded, many, *many*, times. It just stubbornly refuses to work.

Quote:

View 2 Replies View Related

Server :: Url Opens Same Site On Debian Lenny?

Feb 6, 2010

I installed for the sheer pleasure of it a webserver. includes apache2, postfix mail server, MySQL, MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, etc etc. (I have tried to use the config panels ispconfig and webmin)

The situation: There are 3 sites listed on the server, All 3 on different virtual hosts (obviously). The http access goes trough the 20080 port since my ISP blocks everything below 1024 (the bastards). I use a linksys router (192.168.1.1) with dmz pointing to 192.168.1.100 (server) The sites on the server:

inphone.be
fraksken.be
fraksken.is-a-geek.org (but appearently not geek enough)
I also gave them own IP's:
192.168.1.95
192.168.1.96
192.168.1.100

[Code]...

View 3 Replies View Related

Server :: Cannot Install Glassfish On Debian Lenny X64?

Jan 13, 2010

rying to install glassfish enterprise server on an debian lenny x64 virtual machine.I encounter some issues like the binary can only be execute by a 32bits JDK, need an xserver for install, all this has been take care of.From Sun GlassFish Enterprise Server 2.1 Installation GuideQuote:f you are installing Sun GlassFish Enterprise Server on a 64?bit machine (running a 64?bit operating system), use a 32?bit JDK to install Sun GlassFish Enterprise Server on your 64?bit machine. You will need to command:./distribution_filename ?javahome path to 32?bit JDK locationLatest 32bits JDK from SUN

Code:
glassadmin:/home/glassfish# java -version
java version "1.6.0_17"

[code]...

View 1 Replies View Related

Server :: Cannot Get Out Of Single User Mode

Mar 18, 2011

I am running redhat ES 5 on a dell server and recently, I ran into a snag where I was able to reduce a partition (ext3) but could not run resize2fs (mismatch between physical and logical blocks (i never found a solution to this). In any case I decided to log in a single user mode (appended 'single' at the GRUB loader prompt) and now I am always taken to this single user mode every single time I reboot and can't seem to get out of it. I have tried init 5 (runlevel that the system is set to boot into by default) but that does nothing (no message on the # prompt).Of course, I have 2 problems here:

1) partition issue
2) cannot log out of single user mode.

View 6 Replies View Related

Server :: Multiple IP Address On A Single NIC?

Jan 20, 2011

We can add multiple IP address on a single NIC. Is there any limitation that is how many ip address I can add on a single NIC card??

View 1 Replies View Related

Networking :: Setting Up A VPN With OpenVPN On A Debian Lenny Server?

Sep 9, 2010

I'm setting up a VPN with openVPN on a debian lenny server. I successfully installed it in the server, then created the certificates and both client (winXP) and server config files. For the client I use openVPN gui. I tested the tunnel and everything went just fine. I even can ping the openVPN server from the XP client.But thats all. I can't ping any machine behind the openvpn server.Some facts that you may find useful to help me with this issue are:

- The openVPN server is not the default gateway of the LAN. The dg is a pfsense server
- I dont have iptables enabled (policy of all chains are ACCEPT).
- I have configured ip forwarding (echo "1" >/proc/sys/net/ipv4/ip_forward)

[code]....

I have checked and all seems to be OK. I think that the problem is connected with routing the traffic from the vpn to my LAN but I don't know how to do that (besides the push route line in the server.conf).

View 11 Replies View Related

General :: Debian Lenny Unable To Log In Over SSH Or Straight To The Server

Mar 10, 2010

I have installed Debian lenny with software RAID0 (i think it makes no sence to my problem but maybe...) I have installed apache2+php+MySQL (everything worked) I have installed proftpd (to enable users to put files over FTP) after this i tried to connect over SSH to my server i have got:

Code:

$ ssh -l shark 192.168.0.254 -v
OpenSSH_5.1p1 Debian-5, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *

[code].....

I thought it is problem with SSH i have tried to connect with another machine over putty, but no success... then i have removed ~/.ssh dir and tried to connect again... i got the same error. Then i connected keybord and monitor to my Linux box, tried to connect there... no success... neither root or my regular user shark. but i should mention my FTP users who have shell: /bin/ftp (symlink to /bin/false) log into the system and then automatically disconnect...

i have tried to boot my linux box to debian safe mode... it asked for a root pass. after i provided correct root pass it didn't fit. I remember once i have made my linux boot to init 1 without asking to provide a pass (it was mandriva Free 2005 or 2006.0) how to do it with a debian machine using grub or any other fixing possibilities?

P.S. i can not how provide server side /var/log/syslog or any other info because i cannot log into my Linux "server"

View 10 Replies View Related

General :: Installing CUPS On Debian Lenny Server - No GUI

Sep 14, 2010

I have installed CUPS on my Debian 5 Lenny server. I do not have a GUI installed, only SSH to command line.

I cannot get CUPS to let me browse to the html interface from another machine. I believe that CUPS is running only on localhost because when I run

Code:

I get

Code:

When I browse (or telnet) to port 631 from another machine it refuses the connection, if I telnet from my Debian server to port 631 it connects.

My cups.conf is

Code:

I'm not sure how to make it allow me to browse from another machine that does have a GUI so I can configure a printer.

View 5 Replies View Related

Server :: Amavis Faliure With Postfix (Debian Lenny)

Dec 25, 2010

I have a small faliure in my config after i have installed a postfix mx server on my local lan to provide me sysmails from my local network.I have masked my domain and my relay mailserver, so it can't be used to wrong thingsI run Debian 5 Lenny all packets upgraded with aptitude.

View 3 Replies View Related

Server :: Drbd Failed To Install In Debian Lenny

Apr 21, 2010

i tried installing the drbd for replication of data.. i found some tutorials but when i tried installing it i spits out an error of

Code:

E: Package drbd8-module-source has no installation candidate this is what i use to install it

Code:

apt-get install drbd8-utils drbd8-module-source drbd8-source build-essential

View 9 Replies View Related

Server :: How To Setup Diskless PXE Client On Debian Lenny (HPC)

Aug 8, 2010

I currently have a debian lenny high performance cluster running seamlessly using dhcp and tftpd-hpa. All nodes are completely diskless, and i would like to keep it that way. I now would like to have a client boot over local into a full KDE desktop.

Here's the cache.
1. I would like the client to also be a node. I would like it to handle processing as the other nodes do, but this one with a full desktop, with ALL data and privileges accessible.
2. The client will have its own workstation graphics. It will need to have that driver loaded without slowing the system.
3. Client will need to be able to use its own usb, bd-rom, dvd, audio, etc. even though it will be booting into the HPC.
4. Wireless. I cannot run 70 ft of lan across an apartment. not happening.

The idea is a media center applicable "powerhouse" with high-end power and graphics for easy media editing, 3d creation, and gaming. Will also be used for webcache over all local, file sharing, and other server applications.

HPC specs:
-headnode: hp compaq p4-ht 3.2 ghz, 4x500gb, 4gb mem, gigabit ethernet, wireless-N
-nodes: 4x p4-ht 2.2 ghz, 2gb mem, no-name brand slim desktops; 2x panasonic toughbooks p4-mobile 1.8 ghz, 1.5gb mem; 3x gateway p3 unknown specs; and 1 hp 530 notebook 1.6ghz core2 duo, 1.5gb mem
-client: hp compaq core2 duo 2.13 ghz, 4gb mem, wireless n, bd-rom, 2x dvd-rom, usb 3.0 card, bluetooth, 1gb AGP nvidia geforce 6800 dual-dvi, no hd.
I need to know how to set up this PXE.

View 1 Replies View Related

Server :: Mysql Being A Memory Hog And Crashing (Deb Lenny) / Resolve It?

Dec 21, 2009

I've got this issue for past week.

Mysql Crashes with 111 error although it starts back up instantly.

but i can't seem to figure out why.

-Server Is Deb. Lenny + Direct Admin.

Quad Core 2.5, 8GB Ram.

-Mysql ver 5.3

-Htop shows mysql is most of the time using 33 - 50% CPU.
(the init.d name is /etc/init.d/mysqld )

-This is from the err log of last crash. code...

View 3 Replies View Related

Server :: Setting Up A Print Sever With Debian Lenny

Jan 18, 2010

I've been casting about the web searching for clear instructions for setting up a print server using command-line tools with a USB printer. The server is Debian Lenny, the printer is a brother hl-2170w. Can somebody tell me where to look?

View 1 Replies View Related

Networking :: Single Server Running Apache On Two Lan's?

Jun 23, 2010

I have a single CentOS server with two separate NIC's. I was asked to install an internal Wiki on Apache but have that dedicated to one NIC so it's internal only. Then have just a site running on Apache on the 2nd NIC which is externally accessible. I have never done anything like this and would like tonow how difficult this would be on a single stand alone server that I have above?

View 1 Replies View Related

Server :: Allow Access To Directory Only To Single User

Jun 30, 2010

I have a file server on my network. It is accessed mainly by linux machines throught NFS, but sometimes I need to access it from windows, and I managed to get Samba up and running with only one share with no password, which is what I want.My users have their "private" folders which are just chmodded 700, and under NFS it works fine, but on samba I get, of course, access denied.How can I configure samba so that it asks a password to access those directory? They can become separate shares, and have their own username and passwords (not the ones in /etc/passwd in the server), I don't care.

View 1 Replies View Related

Server :: Set Up Multiple Name Based SSL Hosts On A Single IP?

Feb 27, 2011

have a look at the following thread story and please clear my doubt.

View 6 Replies View Related

Server :: Multiple Folders To A Single Path

Mar 27, 2010

We have too many audio Paths, for each user have one. We would like to create a unique folder to Read in network.

For example:

The idea is Mapping all folders to the path /pub/Music in server, so all user can access all music online in the server.

Very Well. How we can do it?

And when pc1 and pc2 have the same subfolder, like Beatles, and in the subfolder have different folders ( PC1-Beatles/Revolver ) (PC2-Beatles/Habbey_Road) or The same folder (PC1-Beatles/The_Mistery_Magic_Tour) (PC3-Beatles/The_Mistery_Magic_Tour)...

Is there a way to contemplate this issue?

View 4 Replies View Related

Server :: Postfix - Domain To Single IP Mapping

Oct 26, 2010

I'm configuring a postfix server for the company I work for and have a question about limiting access by IP address.

First off, we're not using this for SPAM. We're a manufacturing/direct marketing company and will use the email server to contact our salespeople. We do not send UCE. That said, we have had problems in the past with our legitimate email being labeled as spam by a few carriers. This email server is being setup specifically to avoid future problems on that type.

Because of the nature of our business we operate several domains. We want to be able to limit outbound email for a given domain to a single IP Address. For example, say we have have 3 domains - a.com, b.com and c.com - and 3 IP addresses - 1.2.3.1, 1.2.3.2 and 1.2.3.3. We want to set things up so that a.com can only send out email on 1.2.3.1, b.com can only send out email on 1.2.3.2 and c.com can only send out email on 1.2.3.3.

My first impulse is to set these up as virtual domains on the Postfix server but I'm not sure that's the best method. Are there alternatives? What are your recommendations for doing this?

View 7 Replies View Related







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