I am installing gateone terminal so I
can run it on Chrome or may be Firefox....
Code:
Download GateOne source from https://github.com/liftoff/GateOne/
#unzipped and then install using these instructions:
http://liftoff.github.io/GateOne/About/installation.html#from-source
~/Downloads/GateOne-master $ sudo python setup.py install
#Using vim INSTALL.txt, start gateone
Code:
~/Downloads/GateOne-master $ sudo python run_gateone.py
[I 170402 13:12:18 server:4179] Gate One License: AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html)
[I 170402 13:12:18 server:4188] Imported applications: Terminal
[I 170402 13:12:18 server:4340] Version: 1.2.0 (20160618135724)
[I 170402 13:12:18 server:4341] Tornado version 4.4.2
[I 170402 13:12:18 server:4361] Connections to this server will be allowed from the following origins: 'localhost:10443 127.0.0.1:10443 HP:10443 127.0.1.1:10443'
[I 170402 13:12:18 server:3678] No authentication method configured. All users will be ANONYMOUS
[I 170402 13:12:18 server:3759] Loaded global plugins: gateone.plugins.editor, gateone.plugins.help
[I 170402 13:12:18 server:4492] Listening on https://*:10443/
[I 170402 13:12:18 server:4545] Process running with pid 6348
...
...
#When I entered url 127.0.0.1:10443 on Chrome browser,
I got these errors on host terminal,
.....
...
[W 170402 13:12:38 iostream:1276] SSL Error on 16 ('127.0.0.1', 33698): [SSL: HTTP_REQUEST] http request (_ssl.c:590)
[W 170402 13:12:38 iostream:1276] SSL Error on 17 ('127.0.0.1', 33700): [SSL: HTTP_REQUEST] http request (_ssl.c:590)
[W 170402 13:12:38 iostream:1276] SSL Error on 16 ('127.0.0.1', 33702): [SSL: HTTP_REQUEST] http request (_ssl.c:590)
....
#At same time, I got these errors on Chrome when I
enter url 127.0.0.1:10443
Code:
This site can’t be reached
The connection was reset.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_RESET
Reload HIDE DETAILS
...
....
# I also did this, but same result.
Code:
~/Downloads/GateOne-master $ sudo iptables -A INPUT -p tcp --dport 10443 -j ACCEPT
$ ss | grep -i 10443 # Port 10443 did not show up
$ grep -i 10443 /etc/services # Port 10443 did not show up
$ sudo iptables -A OUTPUT -p tcp --sport 10443 -j ACCEPT
Here is the iptable:
Quote:
$ sudo iptables -L
[sudo] password for user1:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:10443
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT udp -- anywhere anywhere udp dpt:bootps
ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
ACCEPT tcp -- anywhere anywhere tcp dpt:10443
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere 192.168.122.0/24 ctstate RELATED,ESTABLISHED
ACCEPT all -- 192.168.122.0/24 anywhere
ACCEPT all -- anywhere anywhere
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:bootpc
ACCEPT tcp -- anywhere anywhere tcp spt:10443
|
When I ran :
Quote:
$ sudo python run_gateone.py
# I get multiple instances.... WHY?
$ ps ax | grep -i gateone
8540 pts/2 S+ 0:00 sudo python run_gateone.py
8541 pts/2 S+ 0:00 python run_gateone.py
8576 pts/3 S+ 0:00 grep --color=auto -i gateone
|
The port for GateOne was enabled.
Why is port 10443 not show up in /etc/services and ss command after enabling?
I am using Linux Mint 18.x as host.