Hi,
I've managed to get the adsl static ip address provisioned by MTN on behalf of Afrihost and Axxess working on standard Ubuntu Linux.
The hint was that MTN is using Cisco VPN that requires L2TP w/ tunnel authentication (shared secret)
1. Install your favorite linux distro (I used Debian in my case)
2. Get the linux box connected to afrihost/axxess using either your existing router or create a pppoe session from the linux machine. The important part here is to not add a default route for your entire network subnet but only a route for the L2TP server (196.30.121.50). In my case the Linux server is on my NAT'd lan so I added a route for the specific IP only to my default gateway (route add 196.30.121.50 gw 192.168.0.1)
2. Install openl2tpd (http://www.openl2tp.org/) and its prerequisites.
3. Create a configuration file for openl2tpd as /etc/openl2tpd.conf as follows:
4. Start the service: service openl2tp start/stop/restart
5. Observe log files (in case of debian it was pushed to /var/log/syslog): tail -f /var/log/syslog
6. If successful in establishing the connection your linux machine will now have internet access through the static ip address and all you need to do now is add all the other NAT/DstNAT entries to get it live on your local network.
I'm in the process of trying to get this solution working on openwrt as openwrt can run in a virtualised environment on a mikrotik router.
If there are others who have been successful in doing this and have inputs or better ways of achieving the above please contribute!
Cheers
I've managed to get the adsl static ip address provisioned by MTN on behalf of Afrihost and Axxess working on standard Ubuntu Linux.
The hint was that MTN is using Cisco VPN that requires L2TP w/ tunnel authentication (shared secret)
1. Install your favorite linux distro (I used Debian in my case)
2. Get the linux box connected to afrihost/axxess using either your existing router or create a pppoe session from the linux machine. The important part here is to not add a default route for your entire network subnet but only a route for the L2TP server (196.30.121.50). In my case the Linux server is on my NAT'd lan so I added a route for the specific IP only to my default gateway (route add 196.30.121.50 gw 192.168.0.1)
2. Install openl2tpd (http://www.openl2tp.org/) and its prerequisites.
3. Create a configuration file for openl2tpd as /etc/openl2tpd.conf as follows:
Code:
ppp profile modify profile_name=default auth_pap=yes default_route=yes
tunnel create tunnel_name=afrihost dest_ipaddr=196.30.121.50 persist=yes secret=h3lp auth_mode=challenge
session create tunnel_name=afrihost session_name=afrihost [email protected] user_password=yourpasswordhere
4. Start the service: service openl2tp start/stop/restart
5. Observe log files (in case of debian it was pushed to /var/log/syslog): tail -f /var/log/syslog
6. If successful in establishing the connection your linux machine will now have internet access through the static ip address and all you need to do now is add all the other NAT/DstNAT entries to get it live on your local network.
I'm in the process of trying to get this solution working on openwrt as openwrt can run in a virtualised environment on a mikrotik router.
If there are others who have been successful in doing this and have inputs or better ways of achieving the above please contribute!
Cheers