TurnKey Linux Virtual Appliance Library

Access webserver from the internet

Hi,

 

I wonder if someone could help me with this problem.

I downloaded turnkey-moodle-11.1-lucid-x86-vmdk yesterday, i managed to set everything up no problem i can access the Moodle website from our LAN but now i would like to access it from the internet using dyndns or something. what i have done is installed pppoeconf & set everything up

I tried to connect to the ppp0 connection through the ip address I found from  doing a ifconfig, but it does not seem to be working everything is default i have only added was

  Accept If input interface is ppp0

could someone please let mem know how to get this working

Jeremy's picture

How does your LAN connect to the net?

If you just use a NAT'd modem/router type thing then you just need to port forward whichever ports you want to use and it should all just work.

Ye thats what i thought as

Ye thats what i thought as well but i am having trouble with my D-link router not forwarding ports ATM

that is why i am bridging it & trying to get port forwarding working on a linux box until D-links support can sort it out for me.

Is there no other way you can think of?


Jeremy's picture

A thought...

First thing you could try (if your modem/router supports it) is to allocate your TKL as DMZ, obviously that raises the possibility of security issues although assuming you use a pretty good root password and disable and/or firewall any services you aren't using (TKL firewall is not enabled by default - have a read up on IPtables if you are unfamilar with Linux firewall setups, although IIRC there is a Webmin module for it) it should be an acceptable risk.

Jeremy's picture

A thought...

First thing you could try (if your modem/router supports it) is to allocate your TKL as DMZ, obviously that raises the possibility of security issues although assuming you use a pretty good root password and disable and/or firewall any services you aren't using (TKL firewall is not enabled by default - have a read up on IPtables if you are unfamilar with Linux firewall setups, although IIRC there is a Webmin module for it) it should be an acceptable risk.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)