Featured Worklog

Price Search



PC Apex Sponsor


PC Apex Sponsors



PC Apex RSS Feeds

RSS Feed for PC Apex Reviews & ArticlesRSS Feed for PC Apex PC Modding WorklogsRSS Feed for the PC Apex Daily DisturbanceRSS Feed for the latest PC Apex Site NewsRSS Feed for PC Apex Affiliate and Web NewsRSS Feed for PC Apex Deals and Steals

Go Back   Apex Community Forums // Other Forums // Designers Corner // Coding / Scripting / Programming

Coding / Scripting / Programming Discussions on all manner of coding and scripting.

Reply
 
LinkBack Thread Tools Display Modes
Old 22-April-05, 03:04 PM   #1 (permalink)
Apex Master Tech
SirDavisCarrots's Avatar
Default Linux: Router Project...

I am currently working on setting up a Linux Router. I is running a firewall and DHCP server and I am currently having troubles setting up IP Masqurading (or Network Address Translation [NAT]). I was wondering if any of you have ever used the "iptables" command to set up NAT or seen it done. I have seen it done but the howto's on doing it just suck. I know that my routing table is setup correctly so i know it is not that.

my networks I am routing between are...
Internal: 192.168.4.0/24 (eth1=192.168.4.1)
External:10.60.0.0/16 (eth0=10.60.2.11)

thanks for any and all the help once I have this linux router set up I will post my howto!
well bye guys/gals thanks again...
+Mas0n

P.S. The 192.168.4.0/24 network can ping eth1 and eth0 but cannot ping anything on the 10.60.0.0 and get a reply but I do not get a "Destination Unreachable" I get a "Request Timed Out" so this is why i believe that it is "iptables" that I need to mess with.
SirDavisCarrots is offline     Reply With Quote
Old 22-April-05, 04:12 PM   #2 (permalink)
Apex Tech God
CubanConnectionZ's Avatar
Post

Quote:
Originally Posted by SirDavisCarrots
I am currently working on setting up a Linux Router. I is running a firewall and DHCP server and I am currently having troubles setting up IP Masqurading (or Network Address Translation [NAT]). I was wondering if any of you have ever used the "iptables" command to set up NAT or seen it done. I have seen it done but the howto's on doing it just suck. I know that my routing table is setup correctly so i know it is not that.

my networks I am routing between are...
Internal: 192.168.4.0/24 (eth1=192.168.4.1)
External:10.60.0.0/16 (eth0=10.60.2.11)

thanks for any and all the help once I have this linux router set up I will post my howto!
well bye guys/gals thanks again...
+Mas0n

P.S. The 192.168.4.0/24 network can ping eth1 and eth0 but cannot ping anything on the 10.60.0.0 and get a reply but I do not get a "Destination Unreachable" I get a "Request Timed Out" so this is why i believe that it is "iptables" that I need to mess with.

Here you go some links that you might of not tried. Hope this helps.

Netfilter FAQ (Frequently Asked Questions)
http://www.netfilter.org/documentation/

YoLinux: Using Linux iptables or ipchains to set up an internet gateway / firewall / router for home or office.
http://yolinux.com/TUTORIALS/LinuxTu...rkGateway.html

Chapter 5. Saving and restoring large rule-sets
http://www.faqs.org/docs/iptables/iptables-save.html

Chapter 13. Firewalls and iptables
http://www.redhat.com/docs/manuals/l...-iptables.html


Iptables Tutorial 1.1.19
http://www.linuxsecurity.com/resourc...-tutorial.html

Chapter 14 : Linux Firewalls Using iptables
http://www.siliconvalleyccie.com/lin...bles-intro.htm

Hope this helped people out.

Last edited by CubanConnectionZ; 09-August-05 at 05:07 PM..
CubanConnectionZ is offline     Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
router project - your ideas tetrafluoroethane Anything Goes 3 21-March-07 01:44 AM
Affiliated Review: Open Linux Router Project Announced ranger1033 PC Apex Web News 0 24-January-07 01:26 PM
Building a linux firewall-router-printer box Seyeklopz Internet / Network Tweaks 10 14-October-06 11:56 PM
Linux Router and Network Services... SirDavisCarrots Linux OS Problems 4 08-April-05 05:51 PM
Need-Linux Router Program stereomod Anything Goes 1 30-August-04 04:53 AM


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


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright PCApex.com, GameApex.com, ForumApex.com 2001 - 2008
Advertisements

Page generated in 0.13500 seconds with 9 queries