Modify

Opened 8 years ago

Closed 8 years ago

#3528 closed task (invalid)

can some one help me with ip tables please

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: port forward Cc:

Description

command

iptables -t nat -A prerouting_wan -p tcp --dport 8080 -j DNAT --to 10.1.0.5:80
iptables -A forwarding_wan -p tcp --dport 80 -d 10.1.0.5 -j ACCEPT

can't get to work-- I want to forward the 10.x.x.x:8080 network to the tun0 interface of 10.1.0.5:80 network
just simple port forwarding but can't seem to get it to work, can any one help with this statement?
THX

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by florian

  • Resolution set to invalid
  • Status changed from new to closed

Allow forwarding between tun interfaces with :

iptables -A FORWARD -i tun+ -o $WAN -j ACCEPT
iptables -A FORWARD -i $WAN -o tun+ -j ACCEPT

Do not use the ticket system for requests like that, use the forum/mailing-list.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.