For providing access via PPPoE it is required a PPPoE network access server (NAS) and a subscriber’s unit (PPPoE client).
In this guide as a PPPoE network access server it is used a freeware packet rp-pppoe.

Step1. First we need intenet access and 2 network cards (eth0 – WAN, eth1 – LAN).

vim /etc/network/interfaces

auto lo
iface lo inet loopback
iface eth0 inet static
address 89.xxx.xxx.xxx #Your public IP address
netmask 255.xxx.xxx.xxx  #Your subnet mask
gateway 89.xxx.xxx.xxx    #Your gateway

iface eth1 inet static
address 192.168.4.254
netmask 255.255.255.0

Step2. Install ppp daemon:

apt-get install ppp

Step3. Get rp-pppoe from here and install it.

wget http://www.roaringpenguin.com/files/download/rp-pppoe-3.10.tar.gz

Extract the archive:

Continue Reading…

VMware Server is totally free. All you need is just to register your name and address to obtain a number of serial numbers.

You may get up to 100 serial numbers at a time. In VMware, there are 3 network types: bridge, nat, and host-only:

Bridge is the most powerful one but you need an extra IP address.

If you don’t have one, you might be interesting in nat or host-only. Nat seems to be better to keep your guest OS up-to-date and connected to the internet.  Nat means you can’t connect to the guest OS directly from internet so you can’t run it as a server.

Anyway, it is possible to forward port to the guest OS behind NAT

Usually, the nat configuration will be stored in a file named nat.conf located in each VMware’s network device.

For example, my host OS has vmnet8 as a nat device so there is a nat.conf as follow:

/etc/vmware/vmnet8/nat/nat.conf

Port forwarding is in section incomingtcp and incomingudp.

For example, I would like to ssh to the guest OS on port 22 through port 2222 on the host OS.

[incomingtcp]
2222 = 172.168.254.100:22

After that I have to restart VMware’s network services as below.

/usr/lib/vmware/net-services.sh restart

So now I can ssh to the guest OS as follow:

ssh -p 222 mydomain.com

Page 1 of 11