Skip to content

Commit

Permalink
Added another proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
lianhao committed Nov 3, 2017
1 parent cc2ba05 commit 56d8cd8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions onap/gateway/onap-tunnel.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Unit]
Description=SSH tunnel for stable neworking connection
ConditionPathExists=|/usr/bin
After=network.target
Conflicts=ssh-tunnel.service

[Service]
User=cloud
ExecStart=/usr/bin/ssh -NT -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -i /home/cloud/.ssh/intelvm-rsa.key -L 28888:10.7.211.16:1080 onap@onap-1.sc.intel.com

# Restart every >2 seconds to avoid StartLimitInterval failure
RestartSec=5
Restart=always

[Install]
WantedBy=multi-user.target

0 comments on commit 56d8cd8

Please sign in to comment.