LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-13-2012, 09:05 AM   #1
Dillithamir
LQ Newbie
 
Registered: May 2012
Distribution: Debian Squeeze
Posts: 8

Rep: Reputation: Disabled
Gateway setup with virtualmin(webmin)


I'm attempting to setup a Debian gateway/router, using webmin as a web interface to connect and control the machine. Webmin is installed with Virtualmin, but I'm only using the Webmin portion.

The distro is Debian Squeeze
There are two NIC: eth0 and eth1
eth0 plugs into my current network powered by a standard router with an ip 192.168.128.124

eth1 is plugged directly into a laptop for testing.

eth0 = public/external
eth1 = private/internal

The trouble I'm having, is after setting everything up, packets are not being forwarded through the machine. For this stage in testing I have all IPtables settings set to accept everything.

I have ipv4 forwarding enabled in /etc/sysctl.conf
Code:
net.ipv4.ip_forward=1
And DHCP server is setup and working using ip 192.168.43.1 on eth1 (subnet 255.255.255.0)

when I try a trace-route to 8.8.8.8 from the laptop, it identifies google-public-dns-a.google.com but cannot trace past the linux box. Can't even connect to my current router from the laptop.

But from the debian box itself I can connect to everything just fine

Bind DNS is installed but I haven't touched the configuration

I did check this guide: http://ubuntuforums.org/showthread.php?t=926001

but according to everything there this should be working.

Any ideas?
 
Old 09-13-2012, 05:22 PM   #2
Dillithamir
LQ Newbie
 
Registered: May 2012
Distribution: Debian Squeeze
Posts: 8

Original Poster
Rep: Reputation: Disabled
Found the solution. Through Webmin, I had to reset the firewall and enable "Do network address translation" for eth0. Now it's working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add nginx module for webmin/virtualmin mandrivian Linux - Server 4 06-01-2011 05:35 AM
webmin and virtualmin questions italiano40 Linux - Software 3 06-13-2009 03:13 AM
Proftpd configuration for virtualmin+webmin+Fedora 8 visu4582 Linux - Newbie 1 12-28-2008 09:00 AM
Proftpd configuration for virtualmin+webmin+Fedora 8 visu4582 Linux - Networking 0 12-01-2008 02:31 AM
Virtualmin/Webmin, Postfix, Virtual server.. problems. Devileyezz Linux - Server 0 11-05-2007 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration