Page 1 of 1
how to customize openvpn module??
Posted: Tue Sep 20, 2016 5:12 am
by chenmin
how to customize openvpn module??
how to achieve my customized openvpn server.conf like below to the openvpn of sevpn
is there any doc or deamon or something can guide me???
thank you admins
port 440
proto tcp
dev tun
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/centos.crt
key /etc/openvpn/easy-rsa/keys/centos.key
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
auth-user-pass-verify /etc/openvpn/login.sh via-env
client-disconnect /etc/openvpn/disconnect.sh
client-connect /etc/openvpn/connect.sh
client-cert-not-required
username-as-common-name
script-security 3 system
server 10.8.0.0 255.255.0.0
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 114.114.114.114"
push "dhcp-option DNS 114.114.115.115"
management localhost 7505
keepalive 10 120
tls-auth /etc/openvpn/easy-rsa/ta.key 0
comp-lzo
persist-key
persist-tun
status /home/wwwroot/default/res/openvpn-status.txt
log openvpn.log
log-append openvpn.log
verb 3
Re: how to customize openvpn module??
Posted: Tue Sep 20, 2016 5:17 am
by chenmin
management localhost 7505
keepalive 10 120
tls-auth /etc/openvpn/easy-rsa/ta.key 0
comp-lzo
actually,the above are the configures i want to realize first.
thanks
Re: how to customize openvpn module??
Posted: Tue Sep 20, 2016 10:49 pm
by raafat
Hello There!. Why don't just play with SE server and after that come back to tell us what your topology with SE server lacks ?. you can come back to say that SE doesn't let me set this option, or change that parameter, or how to achieve a specific topology with SE server.
Good luck (:.
Re: how to customize openvpn module??
Posted: Wed Sep 21, 2016 12:52 am
by chenmin
raafat wrote:
> Hello There!. Why don't just play with SE server and after that come back
> to tell us what your topology with SE server lacks ?. you can come back to
> say that SE doesn't let me set this option, or change that parameter, or
> how to achieve a specific topology with SE server.
>
>
> Good luck (:.
yes. i found that when i connect to the openvpn of sevpn ,the network speed of some app are very slow,so i guess if sever and client are not tls-auth,or the package between them are not compressed made some app slow ,so i want to test it ,but i found i can't custom any config of the openvpn module.
so give me some help.
Re: how to customize openvpn module??
Posted: Wed Sep 21, 2016 12:56 am
by raafat
May you provide us more details about your situation ?. Why do you need OpenVPN in the first place ?.
Re: how to customize openvpn module??
Posted: Wed Sep 21, 2016 1:22 am
by chenmin
raafat wrote:
> May you provide us more details about your situation ?. Why do you need
> OpenVPN in the first place ?.
my situation is i need to achieve a full featured openvpn module that i can custom any configuration of openvpn module of sevpn.
on the other side,client side,i will change host in header of http request from apps via configure the configuration file of openvpn, so that i can implement that according to different host in header , reply different response . : )
Re: how to customize openvpn module??
Posted: Wed Sep 21, 2016 2:07 am
by raafat
May be this seems a little bit out of the context, but what don't you just use SE client ?
Re: how to customize openvpn module??
Posted: Wed Sep 21, 2016 2:18 am
by chenmin
raafat wrote:
> May be this seems a little bit out of the context, but what don't you just
> use SE client ?
i can not change the host in header of http request via SE client , and there is no client run on mobile device, android and iPhone.
Re: how to customize openvpn module??
Posted: Wed Sep 21, 2016 8:23 am
by raafat
chenmin wrote:
> i can not change the host in header of http request via SE client.
What is the point of that ?. I mean changing the host of http request's header ?
Re: how to customize openvpn module??
Posted: Wed Sep 21, 2016 9:14 am
by chenmin
raafat wrote:
> chenmin wrote:
> > i can not change the host in header of http request via SE client.
>
> What is the point of that ?. I mean changing the host of http request's header ?
by changing host, we reply different response ,do something we want
Re: how to customize openvpn module??
Posted: Wed Sep 21, 2016 9:39 am
by raafat
I do understand if you wouldn't feel comfortable telling us what exactly you are doing, but at the same time the likelihood of getting your problem solved gets fewer (:. Think about it. Now why do you think that the default settings that come with SE server are not enough for your topology ?
Re: how to customize openvpn module??
Posted: Tue Oct 11, 2016 6:47 am
by thisjun