[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
etc
/
sysconfig
/
network-scripts
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 ifcfg-eno1
343 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifcfg-eno1:1
345 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifcfg-eno2
268 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifcfg-lo
254 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown
2,123 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown-Team
1,621 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown-TeamPort
1,556 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown-bnep
646 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown-eth
6,419 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown-ippp
769 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown-ipv6
4,536 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown-isdn
769 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown-post
2,064 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown-routes
870 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown-sit
1,458 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifdown-tunnel
1,462 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup
5,463 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-Team
1,755 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-TeamPort
1,876 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-aliases
12,270 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-bnep
906 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-eth
13,776 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-ippp
12,068 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-ipv6
11,891 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-isdn
12,068 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-plip
643 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-plusb
1,057 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-post
5,000 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-routes
2,427 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-sit
3,303 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-tunnel
2,879 B
SET
[ EDIT ]
|
[ DEL ]
📄 ifup-wireless
1,836 B
SET
[ EDIT ]
|
[ DEL ]
📄 init.ipv6-global
5,421 B
SET
[ EDIT ]
|
[ DEL ]
📄 network-functions
20,431 B
SET
[ EDIT ]
|
[ DEL ]
📄 network-functions-ipv6
31,037 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: ifup-tunnel
#!/bin/bash # Copyright (C) 1996-2009 Red Hat, Inc. all rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2, # as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Thanks to: # - Razvan Corneliu C.R. Vilt <razvan.vilt@linux360.ro> # - Aaron Hope <aaron.hope@unh.edu> # - Sean Millichamp <sean@enertronllc.com> # for providing the scripts this one is based on . /etc/init.d/functions cd /etc/sysconfig/network-scripts . ./network-functions CONFIG=$1 need_config "$CONFIG" source_config if [ "$PEER_OUTER_IPADDR" = "$PEER_INNER_IPADDR" ]; then # Specifying PEER_INNER_IPADDR would automatically add a route to the peer # through the tunnel, redirecting tunnel packets back to the tunnel and # creating a dead loop. unset PEER_INNER_IPADDR fi case "$TYPE" in GRE) MODE=gre proto=-4 /sbin/modprobe ip_gre ;; GRE6) MODE=ip6gre proto=-6 /sbin/modprobe ip6_gre ;; IPIP) MODE=ipip proto=-4 /sbin/modprobe ipip ;; IPIP6|EXTERNAL) MODE=ipip6 proto=-6 /sbin/modprobe ip6_tunnel ;; *) net_log $"Invalid tunnel type $TYPE" exit 1 ;; esac # Generic tunnel devices are not supported here if [ "$DEVICE" = gre0 -o "$DEVICE" = tunl0 -o "$DEVICE" = ip6tnl0 ]; then net_log $"Device '$DEVICE' isn't supported as a valid GRE device name." exit 1 fi # Create the tunnel # The outer addresses are those of the underlying (public) network. if [ "$TYPE" = 'EXTERNAL' ]; then /sbin/ip link add "$DEVICE" type ip6tnl external else /sbin/ip $proto tunnel add "$DEVICE" mode "$MODE" \ ${MY_OUTER_IPADDR:+local "$MY_OUTER_IPADDR"} \ ${PEER_OUTER_IPADDR:+remote "$PEER_OUTER_IPADDR"} \ ${KEY:+key "$KEY"} ${TTL:+ttl "$TTL"} fi if [ -n "$MTU" ]; then /sbin/ip link set "$DEVICE" mtu "$MTU" fi # The inner address are used mainly for communication between a gateway # and a private network. When the peer is configured with an inner address # contained in the peer's private network or identical to it's public address, # it need not be specified. /sbin/ip addr add "$MY_INNER_IPADDR" dev "$DEVICE" \ ${PEER_INNER_IPADDR:+peer "$PEER_INNER_IPADDR"} set_link_up "${DEVICE}" # IPv6 initialisation? /etc/sysconfig/network-scripts/ifup-ipv6 ${CONFIG} exec /etc/sysconfig/network-scripts/ifup-post "$CONFIG" "$2"