File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ main() {
139
139
# Install some local dependencies we later need in the meantime (we have to wait for cloud init anyway)
140
140
if ! command -v sshuttle;
141
141
then
142
- # Install sshuttle from source because we need: https://github.com/sshuttle/sshuttle/pull/606
142
+ # Install sshuttle from source because we need: https://github.com/sshuttle/sshuttle/pull/661
143
143
# TODO(sbueringer) install via pip after the next release after 1.0.5 via:
144
144
# pip3 install sshuttle
145
145
cd /tmp
@@ -169,9 +169,7 @@ main() {
169
169
170
170
# Open tunnel
171
171
echo " Opening tunnel to ${PRIVATE_IP} via ${PUBLIC_IP} "
172
- # Packets from the Prow Pod or the Pods in Kind have TTL 63 or 64.
173
- # We need a ttl of 65 (default 63), so all of our packets are captured by sshuttle.
174
- sshuttle -r " ubuntu@${PUBLIC_IP} " " ${PRIVATE_IP} /32" 172.24.4.0/24 --ttl=65 --ssh-cmd=' ssh -o "StrictHostKeyChecking no" -o "UserKnownHostsFile=/dev/null"' -l 0.0.0.0 -D
172
+ sshuttle -r " ubuntu@${PUBLIC_IP} " " ${PRIVATE_IP} /32" 172.24.4.0/24 --ssh-cmd=' ssh -o "StrictHostKeyChecking no" -o "UserKnownHostsFile=/dev/null"' -l 0.0.0.0 -D
175
173
176
174
export OS_REGION_NAME=RegionOne
177
175
export OS_PROJECT_DOMAIN_ID=default
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ main() {
160
160
# Install some local dependencies we later need in the meantime (we have to wait for cloud init anyway)
161
161
if ! command -v sshuttle;
162
162
then
163
- # Install sshuttle from source because we need: https://github.com/sshuttle/sshuttle/pull/606
163
+ # Install sshuttle from source because we need: https://github.com/sshuttle/sshuttle/pull/661
164
164
# TODO(sbueringer) install via pip after the next release after 1.0.5 via:
165
165
# pip3 install sshuttle
166
166
cd /tmp
@@ -187,9 +187,7 @@ main() {
187
187
188
188
# Open tunnel
189
189
echo " Opening tunnel to ${PRIVATE_IP} via ${PUBLIC_IP} "
190
- # Packets from the Prow Pod or the Pods in Kind have TTL 63 or 64.
191
- # We need a ttl of 65 (default 63), so all of our packets are captured by sshuttle.
192
- sshuttle -r " ${PUBLIC_IP} " " ${PRIVATE_IP} /32" 172.24.4.0/24 --ttl=65 --ssh-cmd=' ssh -i ~/.ssh/google_compute_engine -o "StrictHostKeyChecking no" -o "UserKnownHostsFile=/dev/null" -o "IdentitiesOnly=yes"' -l 0.0.0.0 -D
190
+ sshuttle -r " ${PUBLIC_IP} " " ${PRIVATE_IP} /32" 172.24.4.0/24 --ssh-cmd=' ssh -i ~/.ssh/google_compute_engine -o "StrictHostKeyChecking no" -o "UserKnownHostsFile=/dev/null" -o "IdentitiesOnly=yes"' -l 0.0.0.0 -D
193
191
194
192
export OS_REGION_NAME=RegionOne
195
193
export OS_PROJECT_DOMAIN_ID=default
You can’t perform that action at this time.
0 commit comments