如何使用 iPhone 访问局域网的文件? https://www.v2ex.com/t/198819
Some of recom are out of date in above posts.
Verify in 2018-11
- Documents
- Readdle Inc. (2008-2018)
- 6.7.1.567
如何使用 iPhone 访问局域网的文件? https://www.v2ex.com/t/198819
Some of recom are out of date in above posts.
Verify in 2018-11
LUCI Network/Firewall/Port Forwards
/etc/config/firewall
config redirect
option target 'DNAT'
option src 'wan'
uci set dhcp.lan.leasetime='infinite'
/etc/config/dhcp
config host
option name 'HOSTNAME01'
option dns '1'
option mac '11:22:33:44:55:66'
option ip '192.168.1.123'
option leasetime 'infinite'
###安装
opkg install kmod-usb-serial kmod-usb-serial-pl2303
安装完成之后需要手动载入内核模块:
insmod usbserial
insmod pl2303
#!/usr/bin/expect -f | |
# This script secures SuperMicro IPMI implementations which are vulnerable | |
# to viewing the IPMI password in plaintext on port 49152. It does this by | |
# using the shell available in some SuperMicro BMCs to drop traffic to port | |
# 49152 in iptables. | |
# | |
# See http://blog.cari.net/carisirt-yet-another-bmc-vulnerability-and-some-added-extras/ | |
# for more details on the vulnerability. | |
# |
#!/usr/bin/env bash | |
# Loads and mounts an ISO over SMB via the | |
# SuperMicro IPMI web interface | |
# | |
# usage: supermicro-mount-iso.sh <ipmi-host> <smb-host> <path> | |
# e.g.: supermicro-mount-iso.sh 10.0.0.1 10.0.0.2 '\foo\bar\windows.iso' | |
set -x |
The purpose of this short howto is to show you how to:
openconnect
[1] to connect to an enterprise cisco anyconnect endpointUsually VPN administrators will puth the default route to the users, so that all user traffic is routed through the vpn connection. This is to address the various security concerns around compromised user computers bridging external internet traffic into the secure VPN network.
While the VPN administrator can push routes to the clients, the client can ignore these default routes and establish client side routing so that only the required A.B.C.D/E network is routed through the VPN. All other traffic will still use the clients default route and default outbound internet connection.
<?php | |
define('APP_PATH', dirname(__FILE__)); | |
define('DATA_FILE', APP_PATH. '/sms.htdata'); | |
if ($_SERVER['REQUEST_METHOD'] == 'POST') { //tasker提交 | |
if (!isset($_POST['c'])) { | |
die('Invalid Request!'); | |
} else { | |
$data = ''; | |
if (file_exists(DATA_FILE)) { //读入已有数据 |
This guide is based on this blog post: http://blog.smartcore.net.au/blazingly-fast-afp-on-a-smartos-zone/.
Find the latest image, in this case 4166f6d6-ea5f-11e4-addd-8351b159d9b6 (15.1.0), or 24648664-e50c-11e4-be23-0349d0a5f3cf (14.4.1) if you need Long Term Support (LTS).
# imgadm avail | grep base-64