LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-25-2013, 05:09 AM   #1
AchimRS
Member
 
Registered: Mar 2005
Location: Germany
Distribution: Debian Wheezy
Posts: 42

Rep: Reputation: 0
Preconditions for TPROXY within ip6tables


Hi all,
I try to use TPROXY to forward a port to another, but it is simly not working.

If all ip6tables chains are empty (I know, it's a security risk, but it's only for testing on private network), and I make the following:

Code:
ip6tables -t mangle -A PREROUTING -i eth0 -p tcp --dport 80 -j TPROXY --on-port 8080

I assume accessing port 80 will be forwarded to an application listening to port 8080, but there is nothing.

I've done:
- modprobe xt_TPROXY
- echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
- tried in new Debian Wheezy and in Ubuntu 12.04 LTS

What did I forgot?

Thanks
Achim
 
Old 04-26-2013, 06:37 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Try tproxy table in place of mangle table

iptables -t tproxy

Thanks
 
Old 04-27-2013, 06:09 AM   #3
AchimRS
Member
 
Registered: Mar 2005
Location: Germany
Distribution: Debian Wheezy
Posts: 42

Original Poster
Rep: Reputation: 0
nope - it only generates an error:
"Table does not exist (do you need to insmod?)"
even with loaded xt_TPROXY module

I've trid it under Wheezy with ip6tables v1.4.14
 
  


Reply

Tags
ipv6



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
Tproxy squid issues fahadabdillahi Linux - Server 0 12-17-2010 10:19 AM
Squid, TPROXY and SquidGuard toure32 Linux - Server 3 08-09-2010 09:47 AM
Kernal - TProxy getviswa Linux - Server 0 06-03-2010 12:28 AM
tproxy help zmunawar1 Linux - Server 0 07-11-2008 03:55 PM
Tproxy on desktop ? why ? jmore9 Linux - Security 3 05-28-2008 12:07 PM

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

All times are GMT -5. The time now is 12:48 PM.

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