#1 2016-08-09 07:16:09

fitz
Trusted Member
Registered: 2016-07-31
Posts: 4

Help ! about code

if I enter

 make 

it will come back

"grep" command not found.
Installation is aborted.
make: *** [default] Error 1 

i also try to

 yum install grep 

it turns out that

 
Package grep-2.20-2.el7.x86_64 already installed and latest version
Nothing to do

if you can help me ,email me at fitz's email address

Last edited by fitz (2016-08-09 12:55:38)

Offline

#2 2016-08-09 07:23:26

fitz
Trusted Member
Registered: 2016-07-31
Posts: 4

Re: Help ! about code

and also , what port should i open when i setup a vpn server ?  I am using soft ether

Offline

#3 2016-08-09 17:08:29

Backtogeek
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,498
Website

Re: Help ! about code

Should help with the first part of your problem: http://stackoverflow.com/questions/3301 … -not-found


http://LittleHappyCloud.net KVM VPS with 1TB Bandwidth for €3.00

Offline

#4 2016-08-10 03:19:52

guyz92
Trusted Member
From: Singapore
Registered: 2015-12-19
Posts: 40

Re: Help ! about code

I have a compiled SoftEther Server v4.18.

Here you go:

http://www.mediafire.com/download/l2ahwxh0jocu6p2/softether-vpnserver-v4.18-9570-rtm-linux-x86-compiled.tgz

For example, I am issued nat port from 6200-6220:

6220=Webmin Port
6219=SSL-VPN Port
6218=OpenVPN-Clone Port

venet0:0=192.168.1.62 (My Outgoing IP address)

You can do a "REDIRECT" to redirect to default SoftEther management port:

# Generated by iptables-save v1.4.21 on Wed Aug 10 03:14:13 2016
*mangle
:PREROUTING ACCEPT [1643586:1026504401]
:INPUT ACCEPT [672475:135313469]
:FORWARD ACCEPT [970698:891079070]
:OUTPUT ACCEPT [1105895:971054445]
:POSTROUTING ACCEPT [2076593:1862133515]
COMMIT
# Completed on Wed Aug 10 03:14:13 2016
# Generated by iptables-save v1.4.21 on Wed Aug 10 03:14:13 2016
*nat
:PREROUTING ACCEPT [4638:445358]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [98506:8169373]
-A PREROUTING -p tcp -m tcp --dport 6220 -j REDIRECT --to-ports 10000
-A PREROUTING -p tcp -m tcp --dport 6219 -j REDIRECT --to-ports 443
-A PREROUTING -p tcp -m tcp --dport 6218 -j REDIRECT --to-ports 1194
-A PREROUTING -p udp -m udp --dport 6218 -j REDIRECT --to-ports 1194
-A PREROUTING -p udp -m udp --dport 53 -j DNAT --to-destination 208.67.222.222:53
-A POSTROUTING -s 192.168.0.0/16 -j SNAT --to-source 192.168.1.62
COMMIT
# Completed on Wed Aug 10 03:14:13 2016
# Generated by iptables-save v1.4.21 on Wed Aug 10 03:14:13 2016
*filter
:INPUT ACCEPT [672475:135313469]
:FORWARD ACCEPT [970698:891079070]
:OUTPUT ACCEPT [1105896:971055369]
COMMIT
# Completed on Wed Aug 10 03:14:13 2016

Last edited by guyz92 (2016-08-10 06:28:54)


4398352952.png

Offline

Board footer