LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-22-2015, 05:51 AM   #16
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11

is it impossible?
 
Old 03-22-2015, 08:58 AM   #17
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,261

Rep: Reputation: 7419Reputation: 7419Reputation: 7419Reputation: 7419Reputation: 7419Reputation: 7419Reputation: 7419Reputation: 7419Reputation: 7419Reputation: 7419Reputation: 7419
did you try it to solve yourself?
 
Old 03-22-2015, 12:52 PM   #18
Cybrax
LQ Newbie
 
Registered: Oct 2009
Posts: 24

Rep: Reputation: 0
You can solve this indeed with the fore mentioned IPTables, I found it rather challenging to start with iptables from scratch.

I found this script which can generate some nice iptable rules you can learn from I did.


I had the same question like you and i used this website to generate a script and just took out the parts for forwarding, its quite nice and commented

http://easyfwgen.morizot.net/gen/

hope that helps.

P.S. you have to click the generate firewall button and then select some checkboxes before the routing part shows up

Choose
Gateway/Firewall
Check advanced options
then check Enable Port Forwarding to an Internal System

fill in the details generate and simply take out the lines for forwarding

Last edited by Cybrax; 03-22-2015 at 12:55 PM.
 
Old 03-29-2015, 10:04 AM   #19
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by pan64 View Post
did you try it to solve yourself?
I guess my question is clear.

---------- Post added 03-29-15 at 10:05 AM ----------

Quote:
Originally Posted by Cybrax View Post
You can solve this indeed with the fore mentioned IPTables, I found it rather challenging to start with iptables from scratch.

I found this script which can generate some nice iptable rules you can learn from I did.


I had the same question like you and i used this website to generate a script and just took out the parts for forwarding, its quite nice and commented

http://easyfwgen.morizot.net/gen/

hope that helps.

P.S. you have to click the generate firewall button and then select some checkboxes before the routing part shows up

Choose
Gateway/Firewall
Check advanced options
then check Enable Port Forwarding to an Internal System

fill in the details generate and simply take out the lines for forwarding
Thank you but it is very basic
 
  


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
Routing return traffic based on the NIC of the incoming traffic? adamk75 Linux - Networking 3 12-11-2011 04:27 AM
Incoming mail service with .forward processing frank09 Linux - Server 2 01-07-2009 07:37 AM
Forward incoming requests to another server ajaimes Linux - Networking 4 06-04-2007 01:43 PM
FC4 forward specific incoming connections Letheli Linux - Networking 4 12-27-2005 04:36 AM
Allow Incoming Traffic clarence1720 Mandriva 15 12-06-2004 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:19 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