› Forums › Network Management › ZeroShell › how to set zeroshell to use ppp0 only
- This topic is empty.
-
AuthorPosts
-
January 8, 2010 at 9:57 am #42128
scegg
ParticipantHi,
I have a zeroshell router with 2 ppp links and net balancer enabled.
I found that’s difficult to connect to ports of zeroshell web console and openvpn.
How can I set the zeroshell router only use one of the ppp, not both?
Thank you.
January 8, 2010 at 1:42 pm #49347ppalias
MemberYou have to create a netbalancer rule to distinguish which traffic will be sent from a specific connection.
January 9, 2010 at 1:21 am #49348scegg
Participant@ppalias wrote:
You have to create a netbalancer rule to distinguish which traffic will be sent from a specific connection.
Thank you for your reply.
You mean to create a rule: Source IP = Router Local IP ?
Is that OK for working with Virtual Server Port Mapping function?Result: After I creating that rule, all computer without static rule cannot visit internet. It seems be wrong.
January 9, 2010 at 2:41 pm #49349ppalias
MemberI was not referring to Virtual Server. On Virtual Server you have to enable the port forwarding on the WAN interface you wish to have.
Go to Network -> Load Balancer -> Balancing Rules
Click on ADD and on the new window set the IP-ports-whatever is your criteria for distinguishing traffic and on target gateway select the gateway you prefer.January 9, 2010 at 3:59 pm #49350scegg
Participant@ppalias wrote:
Go to Network -> Load Balancer -> Balancing Rules
Click on ADD and on the new window set the IP-ports-whatever is your criteria for distinguishing traffic and on target gateway select the gateway you prefer.I added a rule:
Source IP: RouterIP
Source Port: 1194 (OpenVPN)
Router: ppp0
Sequence: 1
And save.After that, I still cannot visit 1194 port from ppp0 outside. TCP no response.
And, I added a similar rule for port 443. I cannot visit https management site of router either.
And, after I added these rule, all computer without static netbalancer rule cannot access to internet.
January 9, 2010 at 7:31 pm #49351ppalias
MemberThis is my working configuration. You don’t need a virtual server, unless the openvpn server is on an internal server and not on ZS.
January 10, 2010 at 2:02 am #49352scegg
ParticipantThank you for your reply.
It seems that your rule adjusts all TCP connection from port 1194 of all IP (computers and router included) to ppp1. How can I modify this for only router? I changed the source IP to router IP but no help.
January 10, 2010 at 2:30 pm #49353ppalias
MemberYour OpenVPN server is on another machine or on Zeroshell?
January 11, 2010 at 2:30 am #49354scegg
ParticipantIt’s on ZeroShell.
January 11, 2010 at 10:31 am #49355ppalias
MemberAnother thing you could do is to negate the LAN interface at the source interface, so that it will match packets with source tcp port 1194 not coming from your LAN. Happy now?
January 11, 2010 at 12:36 pm #49356scegg
ParticipantThank you.
I’ve tried several ways in several days.
I have to disabled the 2nd ppp and netbalancer from router. Now I’m using the 2nd link directly on one of my server. No more confused configuration now.Thank you again.
-
AuthorPosts
- You must be logged in to reply to this topic.